[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    [PATCH] Fix "Last database update: 2020-12-30 15:16:53 UTC" problem
From:       "=?gb18030?B?0LvWwrDuIChYSUUgWmhpYmFuZyk=?=" <yeking () red54 ! com>
Date:       2019-12-30 21:11:05
Message-ID: tencent_59B75DED47293091D6A9A7CF5AEBAFF03905 () qq ! com
[Download RAW message or body]

https://www.freebsd.org/cgi/ports.cgi?query=freebsd-doc-all
https://web.archive.org/web/20191230210421/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";
_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic