git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* 'git commit --amend --no-edit --date {date}' sets wrong date when the summer daylight saving time is on
@ 2023-03-13 18:46 Yuri
  2023-03-13 19:17 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Yuri @ 2023-03-13 18:46 UTC (permalink / raw)
  To: Git Mailing List

Hello git experts,


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.


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 'git commit --amend --no-edit --date {date}' sets wrong date when the summer daylight saving time is on
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2023-03-13 19:17 UTC (permalink / raw)
  To: Yuri; +Cc: Git Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-13 19:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).