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

Timezone with DATE_STRFTIME

From
John Keeping <john@keeping.me.uk>
Date
Feb 8, 2016, 14:33 UTC
Message-ID
<20160208143317.GN29880@serenity.lan>

I have just noticed that with DATE_STRFTIME, the timezone in the output is likely to be incorrect.

For all other time formats, we print the string ourselves and use the correct timezone from the input, but with DATE_STRFTIME strftime(3) will always use the system timezone.

Next: Jeff King
Message 1 of 4 in “Timezone with DATE_STRFTIME”
  1. John KeepingFeb 8, 2016
  2. Jeff KingFeb 8, 2016
  3. Jeff KingFeb 8, 2016
  4. John KeepingFeb 8, 2016

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.