time.cgi: Make time format consistent on the two locations

Message ID 20261126133530.3220109-1-adolf.belka@ipfire.org
State New
Headers
Series time.cgi: Make time format consistent on the two locations |

Commit Message

Adolf Belka 26 Nov 2026, 1:35 p.m. UTC
- This makes the time format consistent for the "Clock was last synchronised at" and the
   "System time (as of last page load)" loactions on the time.cgi WUI page.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 html/cgi-bin/time.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/html/cgi-bin/time.cgi b/html/cgi-bin/time.cgi
index 8c0cd7525..ebcac9f01 100644
--- a/html/cgi-bin/time.cgi
+++ b/html/cgi-bin/time.cgi
@@ -220,7 +220,7 @@  $form->text("NTP_ADDR_1", _('Primary NTP Server:'), required => 1);
 $form->text("NTP_ADDR_2", _('Secondary NTP Server:'));
 $form->checkbox("ENABLECLNTP", _('Provide Time to Local Network'));
 
-my $now = strftime(_('%Y-%m-%d at %H:%M:%S %Z'), localtime);
+my $now = strftime(_('%H:%M:%S %Z, %Y-%m-%d'), localtime);
 $form->row(_('System Time (as of last page load):'), &Header::escape($now));
 
 $form->section(_('Synchronization'));