From 6e33f389a4c6d1131dcd431bb06700438d18747a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 3 May 2011 19:18:28 +0000 Subject: [PATCH] Show dates in localized format on web page --- wwwtools/nls-status-page | 10 ++++++++++ wwwtools/nls-status-table | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/wwwtools/nls-status-page b/wwwtools/nls-status-page index dc209b8..e61e18c 100755 --- a/wwwtools/nls-status-page +++ b/wwwtools/nls-status-page @@ -123,5 +123,15 @@ foreach $b (@branches) { print <<_EOF_; + _EOF_ diff --git a/wwwtools/nls-status-table b/wwwtools/nls-status-table index e98e967..99cdf3c 100755 --- a/wwwtools/nls-status-table +++ b/wwwtools/nls-status-table @@ -79,7 +79,9 @@ foreach my $catalog (@catalogs) { @all_lang = sort @all_lang; print "
\n"; -print "

Last update: ".`date -u +'%Y-%m-%d %H:%M:%S'`." UTC

\n"; +my $date = `date -u +'%FT%TZ'`; +chomp $date; +print "

Last update: $date

\n"; print "\n\n"; print "\n"; -- 2.39.5