Skip to content

Commit 84b36a3

Browse files
committed
v1.8
1 parent 6d760b8 commit 84b36a3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ Common issues: https://www.hmailserver.com/documentation/latest/?page=ts_setup_p
5858

5959
Changelog
6060
-----
61-
Version 1.8 (2024-10-22)
61+
Version 1.8 (2024-10-21)
6262
- [fix] date formatting on different locales
6363
- [tweak] added Translate() into PrintPropertyRow function
64-
- [new] Check for and prevent too many failed login attempts
64+
- [new] check for and prevent too many failed login attempts
6565
- [new] added TLS reports from @kimboslice99
6666
- [fix] Check syntax and Reload scripts didn't work
6767
- [tweak] hides DMARC and/or TLS reports from navigation if not enabled in config.php

hMailAdmin/hm_account.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
// Convert string to Unix time
130130
$unixTime = strtotime($AccountLastLogonTime);
131131
// Pass the new date format as a string and the original date in Unix time
132-
$AccountLastLogonTime = date("d.m.Y H:i:s", $unixTime);
132+
$AccountLastLogonTime = date('Y-m-d H:i:s', $unixTime);
133133

134134
PrintPropertyRow("Last logon time", $AccountLastLogonTime);
135135
}

hMailAdmin/hm_dmarcreports.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ function parse($files) {
279279
$report_id = $report['id'];
280280
$report_name = $report['domain'] . ' – ' . $report['org'];
281281
$report_unixtime = $report['date_begin'];
282-
$report_date = date('d.m.Y H:i:s', $report_unixtime);
282+
$report_date = date('Y-m-d H:i:s', $report_unixtime);
283283
?>
284284
<tr>
285285
<td>
@@ -304,7 +304,7 @@ function parse($files) {
304304
</tr>
305305
<tr>
306306
<th><?php EchoTranslation("Coverage") ?></th>
307-
<td><?php echo date('Y-m-d H:i:s',$report['date_begin']) ?> - <?php echo date('Y-m-d H:i:s', $report['date_end']) ?></td>
307+
<td><?php echo date('Y-m-d H:i:s', $report['date_begin']) ?> - <?php echo date('Y-m-d H:i:s', $report['date_end']) ?></td>
308308
<th><?php EchoTranslation("Extra contact") ?></th>
309309
<td><?php echo $report['extra_contact_info'] ?></td>
310310
</tr>

0 commit comments

Comments
 (0)