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

Re: [PATCH 1/2] UNIX reference time of 1970-01-01 00:00 is UTC timezone, not local time zone

From
APAndy Parkins <andyparkins@gmail.com>
Date
Jan 26, 2007, 09:43 UTC
Message-ID
<200701260943.55735.andyparkins@gmail.com>
In-Reply-To
<200701260858.48212.andyparkins@gmail.com>
On Friday 2007 January 26 08:58, Andy Parkins wrote:
> This of course means that the --date argument to date is specified in
> local time, not UTC.  So when the hooks--update script does this:
>
> date=$(date --date="1970-01-01 00:00:00 +0000 $ts seconds")

Bugger. This description is wrong. I've shown the fixed version not the original. This line should have read

 date=$(date --date="1970-01-01 00:00:00 $ts seconds")
Sorry - patch was fine, message needs that change to make sense though.
Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
andyparkins@gmail.com
Previous: Andy ParkinsNext: Simon 'corecode' Schubert
Message 2 of 3 in “UNIX reference time of 1970-01-01 00:00 is UTC timezone, not local time zone”
  1. 1/2 UNIX reference time of 1970-01-01 00:00 is UTC timezone, not local time zoneAndy Parkins, Jan 26, 2007
  2. Andy ParkinsJan 26, 2007
  3. Simon 'corecode' SchubertJan 26, 2007

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.