From patchwork Thu Nov 26 13:35:30 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 10849 Return-Path: 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 web04.haj.ipfire.org (Postfix) with ESMTPS id 4jZyGx2SJXz3wjn for ; Thu, 26 Nov 2026 13:35:37 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jZyGw4B47z6mw for ; Thu, 26 Nov 2026 13:35:36 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jZyGw3PY2z2xm3 for ; Thu, 26 Nov 2026 13:35:36 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (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 4jZyGs5h2Fz2xJq for ; Thu, 26 Nov 2026 13:35:33 +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 4jZyGr3DXqzFd; Thu, 26 Nov 2026 13:35:32 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1795700132; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=G3VA2ddC1fFSf9oFK8uESbNjMx1e+teAM7uD+B0T76c=; b=vfCheJ4BM0oGW+6npJjI+nxseEfwsdkxGGtY3MYhYz+V+863/AliRnSMouuM0otW0XDo+z t/kY08rT0uokg4DQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1795700132; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=G3VA2ddC1fFSf9oFK8uESbNjMx1e+teAM7uD+B0T76c=; b=pmou0RfgvkHbV6X8otxqhP4HuLlvvVkEAUbSzhJJsO0UFcOdNJ1eqefrerfgIfrAuXD3RL N3BPENSeoQR+O6P8KOAJXlysQOIu/DtEfeJOqr5pYvz8SLxmkARti3ECjyW8Go80l+eWsy A3CRNzhYEV4SYju15bSN1UEgI2HeyEuIES8dSOEIKXIiwmbY2W6E5VapuFQfVRDSrdUzVQ 2k1bM65Q4hvU+TBOyKb9dZ4JTaz2MgU94ZE3dA0sf8CZMLeBVIvKIWBD/GATKv0Dr4+JOy h3f2Zp8SYO2xS9ftVgToQCe0XOZ+x+fy7fhJC6/iQYKcWdXy8FaysT1o2FQ7Tg== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] time.cgi: Make time format consistent on the two locations Date: Thu, 26 Nov 2026 14:35:30 +0100 Message-ID: <20261126133530.3220109-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - 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'));