From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jZz9V08k6z2xN3 for ; Thu, 26 Nov 2026 14:15:58 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jZz9Q0flFz2xJ5 for ; Thu, 26 Nov 2026 14:15:54 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4jZz9P0SfzzHJ for ; Thu, 26 Nov 2026 14:15:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1795702553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YPayBL24eGrtjfx9yh6if/A7Pgon+GnZ70rRnFYeOFk=; b=pxV6HSsx4IxjbyJTWN2h1CYids1Y2Bpcf+uTIF90ULU7gQb8dfRuJfGikyGmYxVtwBePmD U38Jej7SaDcrqEuu5FV7qwtvkj7wsI6hIBAGBicIkcxMwPRUYcfUBV6rBTuXBkE52JhChl 3coJAYsPqb8ZUFhp6S32UuG+iH9R0U848txyFVYxCMDeJgWye5IxDKh3ub+9RIZpGkECjL XL53MKS7mV1+AmxsiiOqbJrT7GJvn03Fg0gOxaiDsTYxoHgMp8mG3OIlG1bkiaDeuhotfA nQCJi+eTN3jcY8lZQeaYwr4cf6rbNlFjOf6IqMHo20pI/nqs9COw7mAicfSgZQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1795702553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YPayBL24eGrtjfx9yh6if/A7Pgon+GnZ70rRnFYeOFk=; b=S4tJ0cCtyZ3Hs5EDRWuuoCAJBJI5P5pAifv5BR+AusfHVMUhl9OrRaQUPd9itMDQCpwOPh 4b9KBaboFNOQy2BA== Message-ID: <80fedf72-6f93-431b-8092-41d674f85fb0@ipfire.org> Date: Thu, 26 Nov 2026 15:15:50 +0100 Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Subject: Re: [PATCH] time.cgi: Make time format consistent on the two locations To: development@lists.ipfire.org References: <20261126133530.3220109-1-adolf.belka@ipfire.org> Content-Language: en-GB From: Bernhard Bitsch In-Reply-To: <20261126133530.3220109-1-adolf.belka@ipfire.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit - To be consistent, the format should read '%X %Z, %Y-%m-%d' Reviewed-by: Bernhard Bitsch 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 > --- > 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'));