From owner-freebsd-hackers@freebsd.org Fri Jan 3 18:00:36 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 18DEB1F6EB6 for ; Fri, 3 Jan 2020 18:00:36 +0000 (UTC) (envelope-from crees@freebsd.org) Received: from mail92c50.megamailservers.eu (mail170c50.megamailservers.eu [91.136.10.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47qCPH3c5Gz475t; Fri, 3 Jan 2020 18:00:34 +0000 (UTC) (envelope-from crees@freebsd.org) X-Authenticated-User: crees@uwclub.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1578074431; bh=OBk6zwPCPKeiTvcRTblbCrC4w33HZyD/0yk0slACHMA=; h=Subject:To:References:From:Date:In-Reply-To:From; b=RnKVAOdDSRe4zlZxOIGEfIMiguAKiHptv2AZAvSic9GZXi7H2iGmISmSouYii//Dn N4NRyWeJB93I2z2lS+dWnOrIP6d2gm3UzNv3KvO+2pn1RkKBYYRXgzFnqTHXTOCzM6 L4UT2HE0iAnmAt93QruBLrJMzSWaDiJvXUF9rln4= Feedback-ID: crees@freebsd.o Received: from pegasus.bayofrum.net (host-92-16-36-61.as13285.net [92.16.36.61]) (authenticated bits=0) by mail92c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 003I0TAb009614; Fri, 3 Jan 2020 18:00:31 +0000 Received: from [192.168.1.149] (unknown [192.168.1.149]) by pegasus.bayofrum.net (Postfix) with ESMTPSA id 5BB17715C; Fri, 3 Jan 2020 18:00:26 +0000 (GMT) Subject: Re: [PATCH] Fix "Last database update: 2020-12-30 15:16:53 UTC" problem To: freebsd-hackers@freebsd.org, wosch@FreeBSD.org, yeking@red54.com References: From: Chris Rees Message-ID: Date: Fri, 3 Jan 2020 18:00:25 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-bayofrum-MailScanner-Information: Please contact the ISP for more information X-bayofrum-MailScanner-ID: 5BB17715C.A9813 X-bayofrum-MailScanner: Found to be clean X-bayofrum-MailScanner-From: crees@freebsd.org X-Spam-Status: No X-CTCH-RefID: str=0001.0A0B0201.5E0F813F.0060, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=RJbN4Lq+ c=1 sm=1 tr=0 a=ExehvxHEHCe6C2o3spqpZQ==:117 a=ExehvxHEHCe6C2o3spqpZQ==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=iObKdSDJtaoA:10 a=Jdjhy38mL1oA:10 a=Kdlv8izeAAAA:20 a=6I5d2MoRAAAA:8 a=B7azeRmrAAAA:20 a=7cyCI0ON9tTAlbEFJvwA:9 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 a=Z5ABNNGmrOfJ6cZ5bIyy:22 a=UDnyf2zBuKT2w-IlGP_r:22 X-Rspamd-Queue-Id: 47qCPH3c5Gz475t X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.94 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.95)[-0.952,0]; ASN(0.00)[asn:9115, ipnet:91.136.0.0/17, country:GB]; NEURAL_HAM_LONG(-0.98)[-0.984,0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jan 2020 18:00:36 -0000 Hey, On 2020-01-01 08:10, 谢致邦 (XIE Zhibang) wrote: > Forward to crees and wosch. > > https://web.archive.org/web/20191230210421/https://www.freebsd.org/cgi/ports.cgi?query=freebsd-doc-all > https://web.archive.org/web/20191231054123/https://www.freebsd.org/cgi/ports.cgi?query=freebsd-doc-all > > Index: doc/head/en_US.ISO8859-1/htdocs/cgi/ports.cgi > =================================================================== > --- doc/head/en_US.ISO8859-1/htdocs/cgi/ports.cgi (revision 53721) > +++ doc/head/en_US.ISO8859-1/htdocs/cgi/ports.cgi (working copy) > @@ -166,7 +166,7 @@ > > $modtime = ( stat($file) )[9]; > if ( defined($modtime) && $modtime > 0 ) { > - $modtimestr = strftime( "%G-%m-%d %H:%M:%S UTC", gmtime($modtime) ); > + $modtimestr = strftime( "%Y-%m-%d %H:%M:%S UTC", gmtime($modtime) ); > } > else { > $modtimestr = "Unknown"; Committed.  Thanks, nice catch! Chris -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.