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

Re: Bug report: Author/Commit date in ISO 8601 format

From
Jeff King <peff@peff.net>
Date
Aug 26, 2014, 13:33 UTC
Message-ID
<20140826133326.GA30887@peff.net>
In-Reply-To
<53FC894F.9060402@arc-aachen.de>
On Tue, Aug 26, 2014 at 03:19:11PM +0200, Oliver Busch wrote:
> PS: As far as I understand it, there is no "optionality" of the "T" as an
> indicator for the start of the time part.

The standard says (and I am quoting from Wikipedia here, as I do not have it myself):

  4.3.2 NOTE: By mutual agreement of the partners in information
  interchange, the character [T] may be omitted in applications where
  there is no risk of confusing a date and time of day representation
  with others defined in this International Standard.

But I am not sure that "omitted" means "can be replaced with a space". And while you can define "by mutual agreement" as "git defines the format, so any consumers agree to it" that is not necessarily useful to somebody who wants to feed the result to an iso8601 parser that does not know or care about git (i.e., it shoves the conversion work onto the person in the middle).

-Peff
Previous: Oliver BuschNext: Jason Pyeron
Message 5 of 8 in “Bug report: Author/Commit date in ISO 8601 format”
  1. Oliver BuschAug 26, 2014
  2. Jeff KingAug 26, 2014
  3. Oliver BuschAug 26, 2014
  4. Oliver BuschAug 26, 2014
  5. Jeff KingAug 26, 2014
  6. Jason PyeronAug 26, 2014
  7. Jeff KingAug 26, 2014
  8. Oliver BuschAug 27, 2014

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.