git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [BUG] incorrect search result returned when using git log with a future date parameter

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jan 30, 2013, 22:15 UTC
Message-ID
<20130130221544.GA15680@google.com>
In-Reply-To
<7vsj5ijvei.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
> When it is fed 2013-02-12, it is ambiguous and "approxidate" can and
> should use whatever heuristics (including rejection of future) to
> guess what the user wanted, but 2013-02-13 cannot be interpreted in
> any other way, so we should parse it as such.

FWIW, if you said 02/12/2013, I'd agree, but I've never seen someone using 2013-02-12 to mean December 2.

So that suggests another possible tweak on top. :)

Thanks, Jonathan

Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 4 in “[BUG] incorrect search result returned when using git log with a future date parameter”
  1. Caspar ZhangJan 30, 2013
  2. Junio C HamanoJan 30, 2013
  3. Jonathan NiederJan 30, 2013
  4. Junio C HamanoJan 30, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.