Date: Fri, 3 Jan 2020 18:00:25 +0000 From: Chris Rees <crees@FreeBSD.org> To: freebsd-hackers@freebsd.org, wosch@FreeBSD.org, yeking@red54.com Subject: Re: [PATCH] Fix "Last database update: 2020-12-30 15:16:53 UTC" problem Message-ID: <d68d9a2b-3abd-491b-70e4-d4a2456f76fa@bayofrum.net> In-Reply-To: <tencent_FBE8CF526003ED63CF8975CD1FD4F37E3B06@qq.com> References: <tencent_FBE8CF526003ED63CF8975CD1FD4F37E3B06@qq.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d68d9a2b-3abd-491b-70e4-d4a2456f76fa>