From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH] time.cgi: Make time format consistent on the two locations
Date: Thu, 26 Nov 2026 14:35:30 +0100 [thread overview]
Message-ID: <20261126133530.3220109-1-adolf.belka@ipfire.org> (raw)
- 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
next reply other threads:[~2026-11-26 13:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 13:35 Adolf Belka [this message]
2026-11-26 14:15 ` Bernhard Bitsch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261126133530.3220109-1-adolf.belka@ipfire.org \
--to=adolf.belka@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox