Re: [PATCH] Fix: wrong offset for CET timezone
- From
Robin Rosenberg <robin.rosenberg@dewire.com>
- Date
- Jun 26, 2014, 22:08 UTC
- Message-ID
- <166360487.125996.1403820532765.JavaMail.zimbra@dewire.com>
- In-Reply-To
- <1403790812-29174-1-git-send-email-mailing@franzoni.eu>
----- Ursprungligt meddelande -----
Show 23 quoted lines
> Från: "Alan Franzoni" <mailing@franzoni.eu> > Till: git@vger.kernel.org > Kopia: "Alan Franzoni" <username@franzoni.eu> > Skickat: torsdag, 26 jun 2014 15:53:32 > Ämne: [PATCH] Fix: wrong offset for CET timezone > > From: Alan Franzoni <username@franzoni.eu> > > Signed-off-by: Alan Franzoni <username@franzoni.eu> > --- > 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
Show 10 quoted lines
> 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 majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >