public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] time.cgi: Make time format consistent on the two locations
@ 2026-11-26 13:35 Adolf Belka
  2026-11-26 14:15 ` Bernhard Bitsch
  0 siblings, 1 reply; 2+ messages in thread
From: Adolf Belka @ 2026-11-26 13:35 UTC (permalink / raw)
  To: development; +Cc: Adolf Belka

- 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(-)

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'));
-- 
2.56.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-26 14:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-26 13:35 [PATCH] time.cgi: Make time format consistent on the two locations Adolf Belka
2026-11-26 14:15 ` Bernhard Bitsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox