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

Re: Config timezone to prevent chaos when DST/changing timezone

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 8, 2025, 21:54 UTC
Message-ID
<xmqqfrkodrvx.fsf@gitster.g>
In-Reply-To
<87seooss2u.fsf@linux-m68k.org>
Andreas Schwab <schwab@linux-m68k.org> writes:
Show 9 quoted lines
> On Feb 07 2025, Devste Devste wrote:
>
>> With DST or manual timezone changes (e.g. travelling) you can end up
>> with commits that are illogically sorted - newer commits have an
>> author/committer date that is older than older commits.
>
> The time stamps in commits are recorded in Universal Time, so neither
> DST nor timezone changes (both are essentially equivalent) have an
> influence on how the time stamp is interpreted as a point in time.

The commits will be sorted correctly according to time, regardless of the recorded timezone. Thanks for pointing it out.

Previous: Andreas Schwab
Message 4 of 4 in “Config timezone to prevent chaos when DST/changing timezone”
  1. Devste DevsteFeb 7, 2025
  2. brian m. carlsonFeb 7, 2025
  3. Andreas SchwabFeb 8, 2025
  4. Junio C HamanoFeb 8, 2025

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.