r14246 - /scripts/qa/qareport.cgi
tincho-guest at users.alioth.debian.org
tincho-guest at users.alioth.debian.org
Thu Feb 7 11:23:16 UTC 2008
Author: tincho-guest
Date: Thu Feb 7 11:23:16 2008
New Revision: 14246
URL: http://svn.debian.org/wsvn/?sc=1&rev=14246
Log:
Use localtime instead of gmtime, as dates are localised
Modified:
scripts/qa/qareport.cgi
Modified: scripts/qa/qareport.cgi
URL: http://svn.debian.org/wsvn/scripts/qa/qareport.cgi?rev=14246&op=diff
==============================================================================
--- scripts/qa/qareport.cgi (original)
+++ scripts/qa/qareport.cgi Thu Feb 7 11:23:16 2008
@@ -101,7 +101,7 @@
),
-last_modified => POSIX::strftime(
"%a, %d %b %Y %T %Z",
- gmtime($last_modified),
+ localtime($last_modified),
),
$cgi->param("refresh") ? (-refresh => $cgi->param("refresh")) : (),
);
@@ -147,8 +147,9 @@
total_packages => scalar(@pkglist),
# params => scalar($cgi->Vars()),
last_modified => POSIX::strftime("%a, %d %b %Y %T %Z",
- gmtime($last_modified)),
- now => POSIX::strftime("%a, %d %b %Y %T %Z", gmtime(time)),
+ localtime($last_modified)),
+ now => POSIX::strftime("%a, %d %b %Y %T %Z",
+ localtime(time)),
},
) || die $tt->error;
More information about the Pkg-perl-cvs-commits
mailing list