Subject: Re: [PATCH] Fix: wrong offset for CET timezone

From: Robin Rosenberg <[email-masked]>
Date: Fri, 27 Jun 2014 00:08:52 +0200 (CEST)

----- Ursprungligt meddelande -----
> Från: "Alan Franzoni" <[email-masked]>
> Till: [email-masked]
> Kopia: "Alan Franzoni" <[email-masked]>
> Skickat: torsdag, 26 jun 2014 15:53:32
> Ämne: [PATCH] Fix: wrong offset for CET timezone
> 
> From: Alan Franzoni <[email-masked]>
> 
> Signed-off-by: Alan Franzoni <[email-masked]>
> ---
>  Documentation/date-formats.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/date-formats.txt b/Documentation/date-formats.txt
> index ccd1fc8..284308a 100644
> --- a/Documentation/date-formats.txt
> +++ b/Documentation/date-formats.txt
> @@ -11,7 +11,7 @@ Git internal format::
>  	It is `<unix timestamp> <time zone offset>`, where `<unix
>  	timestamp>` is the number of seconds since the UNIX epoch.
>  	`<time zone offset>` is a positive or negative offset from UTC.
> -	For example CET (which is 2 hours ahead UTC) is `+0200`.
> +	For example CET (which is 1 hour ahead UTC) is `+0100`.

1 hour in winter and 2 in summer, although some standards seem to say
that summer time is really called CEST, computers apply DST to CET in summer.

$ TZ=UTC date
Tor 26 Jun 2014 22:08:01 UTC

$ TZ=CET date
Fre 27 Jun 2014 00:08:05 CEST

-- robin
 
>  RFC 2822::
>  	The standard email format as described by RFC 2822, for example
> --
> 2.0.0
> 
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to [email-masked]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>