You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whimsical.apache.org by sebb AT ASF <se...@apache.org> on 2017/06/02 10:42:07 UTC

Re: [whimsy] branch master updated: Show time in UTC

On 2 June 2017 at 11:04,  <se...@apache.org> wrote:
> 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 <se...@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

Not sure why the mode was changed (now fixed).

IIRC I did a git squash because I forgot to pull first - maybe that
changed the mode?

> 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" <co...@whimsical.apache.org>'].