git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Yuri <yuri@rawbw.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: 'git commit --amend --no-edit --date {date}' sets wrong date when the summer daylight saving time is on
Date: Mon, 13 Mar 2023 11:46:57 -0700	[thread overview]
Message-ID: <35a28f6c-5fe3-3007-63b2-bcfcdd10795a@tsoft.com> (raw)

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



             reply	other threads:[~2023-03-13 19:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-13 18:46 Yuri [this message]
2023-03-13 19:17 ` 'git commit --amend --no-edit --date {date}' sets wrong date when the summer daylight saving time is on Junio C Hamano

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=35a28f6c-5fe3-3007-63b2-bcfcdd10795a@tsoft.com \
    --to=yuri@rawbw.com \
    --cc=git@vger.kernel.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.
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).