File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,10 @@ Common issues: https://www.hmailserver.com/documentation/latest/?page=ts_setup_p
5858
5959Changelog
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
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff 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>
You can’t perform that action at this time.
0 commit comments