From: Junio C Hamano <gitster@pobox.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Devste Devste <devstemail@gmail.com>, git@vger.kernel.org
Subject: Re: Config timezone to prevent chaos when DST/changing timezone
Date: Sat, 08 Feb 2025 13:54:26 -0800 [thread overview]
Message-ID: <xmqqfrkodrvx.fsf@gitster.g> (raw)
In-Reply-To: <87seooss2u.fsf@linux-m68k.org> (Andreas Schwab's message of "Sat, 08 Feb 2025 10:28:57 +0100")
Andreas Schwab <schwab@linux-m68k.org> writes:
> 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.
prev parent reply other threads:[~2025-02-08 21:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-07 22:02 Config timezone to prevent chaos when DST/changing timezone Devste Devste
2025-02-07 22:47 ` brian m. carlson
2025-02-08 9:28 ` Andreas Schwab
2025-02-08 21:54 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqfrkodrvx.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=devstemail@gmail.com \
--cc=git@vger.kernel.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).