public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: gregor@chkpnt.de
Cc: git@vger.kernel.org
Subject: Re: Question: --since date parsing uses current time instead of midnight - by design?
Date: Fri, 13 Feb 2026 14:41:18 -0800	[thread overview]
Message-ID: <xmqq8qcwjmgh.fsf@gitster.g> (raw)
In-Reply-To: <e5904a7b-c146-4c36-8b87-c5c508e14cca@chkpnt.de> (gregor@chkpnt.de's message of "Fri, 13 Feb 2026 22:09:29 +0100")

gregor@chkpnt.de writes:

> Hello,
>
> I've just noticed how git log --since=<date> interprets dates without 
> explicit times, and I found the behavior seems potentially unintended. 
> I'd like to understand if this is by design or a bug.

Looks like it is very much designed, ...

https://lore.kernel.org/git/Pine.LNX.4.64.0511171505080.13959@g5.osdl.org/

... at least to me.

  reply	other threads:[~2026-02-13 22:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-13 21:09 Question: --since date parsing uses current time instead of midnight - by design? gregor
2026-02-13 22:41 ` Junio C Hamano [this message]
2026-02-14 22:11   ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqq8qcwjmgh.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=gregor@chkpnt.de \
    /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