[Bug 2464] Adding timestamp to debug messages (log.c:do_log)
Michael Stone
mstone at mathom.us
Fri Oct 30 09:53:31 AEDT 2015
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 at juniper.net> 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
More information about the openssh-unix-dev
mailing list