From: Bernhard Bitsch <bbitsch@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] time.cgi: Make time format consistent on the two locations
Date: Thu, 26 Nov 2026 15:15:50 +0100 [thread overview]
Message-ID: <80fedf72-6f93-431b-8092-41d674f85fb0@ipfire.org> (raw)
In-Reply-To: <20261126133530.3220109-1-adolf.belka@ipfire.org>
- To be consistent, the format should read
'%X %Z, %Y-%m-%d'
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Am 26.11.2026 um 14:35 schrieb 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'));
prev parent reply other threads:[~2026-11-26 14:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 13:35 Adolf Belka
2026-11-26 14:15 ` Bernhard Bitsch [this message]
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=80fedf72-6f93-431b-8092-41d674f85fb0@ipfire.org \
--to=bbitsch@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