All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Oliver Busch <oliver.busch@arc-aachen.de>
Cc: git@vger.kernel.org
Subject: Re: Bug report: Author/Commit date in ISO 8601 format
Date: Tue, 26 Aug 2014 09:33:26 -0400	[thread overview]
Message-ID: <20140826133326.GA30887@peff.net> (raw)
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

  reply	other threads:[~2014-08-26 13:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-26  7:29 Bug report: Author/Commit date in ISO 8601 format Oliver Busch
2014-08-26 13:06 ` Jeff King
2014-08-26 13:14   ` Oliver Busch
2014-08-26 13:19   ` Oliver Busch
2014-08-26 13:33     ` Jeff King [this message]
2014-08-26 14:10       ` Jason Pyeron
2014-08-26 14:22         ` Jeff King
     [not found]           ` <CANgJU+UifjMJPcmC28-SrZOEUR45qQQfdM_rf-HHtkfBAMEyRw@mail.gmail.com>
2014-08-27  7:15             ` Oliver Busch

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=20140826133326.GA30887@peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=oliver.busch@arc-aachen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.