whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Show time in UTC
Date Fri, 02 Jun 2017 10:04:44 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  9ec6ee9   Show time in UTC
9ec6ee9 is described below

commit 9ec6ee9c89bf242f876f62480baff79220d267fb
Author: Sebb <sebb@apache.org>
AuthorDate: Fri Jun 2 11:04:06 2017 +0100

    Show time in UTC
    
    Using local time is confusing, especially if no TZ is present
---
 www/status/errors.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/status/errors.cgi b/www/status/errors.cgi
old mode 100755
new mode 100644
index c37b430..43d261a
--- a/www/status/errors.cgi
+++ b/www/status/errors.cgi
@@ -44,7 +44,7 @@ _html do
           _a pinger, href:
             "https://www.pingmybox.com/pings?location=470&pinger=#{pinger}"
         end
-        _td.time time.iso8601
+        _td time.gmtime # show time in UTC for consistency
         _td text[/^HTTP\/1.1 (\d+)/, 1] 
         _td text.sub(/^HTTP\/1.1 \d+/, '')
       end

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message