From: Junio C Hamano <gitster@pobox.com>
To: Yuri <yuri@rawbw.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: 'git commit --amend --no-edit --date {date}' sets wrong date when the summer daylight saving time is on
Date: Mon, 13 Mar 2023 12:17:26 -0700 [thread overview]
Message-ID: <xmqqttyotq9l.fsf@gitster.g> (raw)
In-Reply-To: <35a28f6c-5fe3-3007-63b2-bcfcdd10795a@tsoft.com> (yuri@rawbw.com's message of "Mon, 13 Mar 2023 11:46:57 -0700")
Yuri <yuri@rawbw.com> writes:
> After the 'git commit --amend --no-edit --date "Mon 13 Mar 2023
> 6:00:00PST"' command 'git log' shows that the last commit was made at
> 07:00:00, not at 06:00:00.
PST vs PDT, perhaps?
> This started happening only now after the switch to the summer
> daylight saving time was made a day ago.
>
>
> In both cases, when the time is set or read, the time correction
> should be applied equally.
>
>
>
> Yuri
prev parent reply other threads:[~2023-03-13 19:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-13 18:46 'git commit --amend --no-edit --date {date}' sets wrong date when the summer daylight saving time is on Yuri
2023-03-13 19:17 ` 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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqttyotq9l.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=yuri@rawbw.com \
/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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).