Re: [Bug 2464] Adding timestamp to debug messages (log.c:do_log)

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Thu, Oct 29, 2015 at 01:32:21PM +1100, Darren Tucker wrote:
On Thu, Oct 29, 2015 at 1:23 PM, Mark D. Baushke <mdb@xxxxxxxxxxx> wrote:
Hmmm... I could be wrong here as I have not read the actual ISO 8601
standard since 1999, but the form 'YYYY-MM-DD HH:MM:SS' is the form
where the lack of a timezone indicated local time.

That's entirely possible, I've never read it and the text is not
generally available.  The wikipedia page gives an example with the "T"
and without the timezone specifiier, though.

At this point for most general purposes (like timestamping) it makes more sense to reference RFC 3339 rather than ISO 8601, which is freely available and has fewer options for people to screw up.

AFAIK, the presence or absence of a T in an ISO 8601 timestamp has nothing to do with local time zone. The T is required in all cases of combined date and time unless people decide not to use it. My only criticism of RFC 3339 was failing to make the T mandatory.

Mike Stone
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux