Skip to content

Commit

Permalink
v1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
coax committed Oct 21, 2024
1 parent 6d760b8 commit 84b36a3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ Common issues: https://www.hmailserver.com/documentation/latest/?page=ts_setup_p

Changelog
-----
Version 1.8 (2024-10-22)
Version 1.8 (2024-10-21)
- [fix] date formatting on different locales
- [tweak] added Translate() into PrintPropertyRow function
- [new] Check for and prevent too many failed login attempts
- [new] check for and prevent too many failed login attempts
- [new] added TLS reports from @kimboslice99
- [fix] Check syntax and Reload scripts didn't work
- [tweak] hides DMARC and/or TLS reports from navigation if not enabled in config.php
Expand Down
2 changes: 1 addition & 1 deletion hMailAdmin/hm_account.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
// Convert string to Unix time
$unixTime = strtotime($AccountLastLogonTime);
// Pass the new date format as a string and the original date in Unix time
$AccountLastLogonTime = date("d.m.Y H:i:s", $unixTime);
$AccountLastLogonTime = date('Y-m-d H:i:s', $unixTime);

PrintPropertyRow("Last logon time", $AccountLastLogonTime);
}
Expand Down
4 changes: 2 additions & 2 deletions hMailAdmin/hm_dmarcreports.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ function parse($files) {
$report_id = $report['id'];
$report_name = $report['domain'] . ' – ' . $report['org'];
$report_unixtime = $report['date_begin'];
$report_date = date('d.m.Y H:i:s', $report_unixtime);
$report_date = date('Y-m-d H:i:s', $report_unixtime);
?>
<tr>
<td>
Expand All @@ -304,7 +304,7 @@ function parse($files) {
</tr>
<tr>
<th><?php EchoTranslation("Coverage") ?></th>
<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>
<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>
<th><?php EchoTranslation("Extra contact") ?></th>
<td><?php echo $report['extra_contact_info'] ?></td>
</tr>
Expand Down

0 comments on commit 84b36a3

Please sign in to comment.