[PATCH] Fix "Last database update: 2020-12-30 15:16:53 UTC" problem

From: 谢致邦 (XIE Zhibang) <"谢致邦>
Date: Wed, 1 Jan 2020 16:10:21 +0800
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)
_at__at_ -166,7 +166,7 _at__at_
 
     $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";
Received on Wed Jan 01 2020 - 07:10:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC