From: Romain Lenglet <rlenglet@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-core] xeno-test manpage patch
Date: Wed, 3 May 2006 15:09:48 +0900 [thread overview]
Message-ID: <200605031509.48565.rlenglet@domain.hid> (raw)
In-Reply-To: <4457DC55.8030503@domain.hid>
Thomas Lockhart:
> >>I wanted a compact rep.
> >>is there a std format that doesnt have a space ?
> >>its nicer for us xterm double-click cut-pasters.
> >
> > Replace the space with a "T": this is still an ISO 8601
> > format.
>
> Just a detail: it is "ISO 9601" and (fwiw) I can confirm that
> the "T" is defined there.
I am adding some more noise... ;-)
No, it is ISO 8601. There is no ISO 9601 standard (the 9000
series is about management / quality).
http://www.iso.org/iso/en/CatalogueDetailPage.CatalogueDetail?CSNUMBER=40874&ICS1=1&ICS2=140&ICS3=30
The interesting thing about IETF's RFC 3339 is that they have
summarized ISO 8601's syntax in ABNF, and defined a
non-ambiguous subset of it.
The "T" is optional in ISO 8601, but they have made it mandatory
in RFC 3339's subset to avoid ambiguity:
"ISO 8601 states that the "T" may be omitted under some
circumstances. This grammar requires the "T" to avoid
ambiguity.
[...]
iso-date-time = date "T" time"
My mistake is, I initially thought that RFC 3339 recommended a
space instead of "T", but this is only an option for
readability:
"NOTE: ISO 8601 defines date and time separated by "T".
Applications using this syntax may choose, for the sake of
readability, to specify a full-date and full-time separated by
(say) a space character."
This story about the ambiguity of ISO 8601 is the reason why
the --iso-8601 option has been dropped from GNU date in favor
of --rfc-3339. But that option is buggy, since it returns the
date with a space instead of a "T"... I am filing a bug report!
Conclusion: let's use a "T", to be compatible with everyone! :-)
--
Romain LENGLET
prev parent reply other threads:[~2006-05-03 6:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-25 6:02 [Xenomai-core] xeno-test manpage patch Romain Lenglet
2006-04-25 11:31 ` Jim Cromie
2006-04-28 15:10 ` Jim Cromie
2006-04-29 9:03 ` Romain Lenglet
2006-04-30 14:17 ` Philippe Gerum
2006-05-01 18:44 ` Jim Cromie
2006-05-02 2:58 ` Romain Lenglet
2006-05-02 22:25 ` Thomas Lockhart
2006-05-03 6:09 ` Romain Lenglet [this message]
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=200605031509.48565.rlenglet@domain.hid \
--to=rlenglet@domain.hid \
--cc=xenomai@xenomai.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.
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.