git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
> 
Previous: Alan FranzoniNext: Andreas Schwab
Message 2 of 5 in “Fix: wrong offset for CET timezone”
  1. Fix: wrong offset for CET timezoneAlan Franzoni, Jun 26, 2014
  2. Robin RosenbergJun 26, 2014
  3. Andreas SchwabJun 27, 2014
  4. Alan FranzoniJun 27, 2014
  5. Robin RosenbergJun 27, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.