On 12/13/2012 01:23 PM, Rainer Gerhards wrote:
Per RFC-3339, these timezones are legal:
Z
+06:00
+0600
+06
Mhhh... This is a bit complicated. As far as I read 3339, the last two
formats are incorrect. In section 5.6 (inside the normative part of the RFC) it
says:
time-numoffset = ("+" / "-") time-hour ":" time-minute
I should have mentioned that I also looked up the erratas at
http://www.rfc-editor.org/errata.php
and nothing came up that invalidates my interpretation.
FYI: I have contacted the RFC authors. Let's hope I get a reply. If so, I'll
report.
Rainer
Rainer,
Thanks for the followup. I agree with your interpretation of the spec -
I didn't catch that the ABNF I referenced earlier was from the "ISO 8601
Collected ABNF" section.
If we integrate the patch with a configuration option to control it,
this would be sufficient for our needs. We're just dealing with 3rd
party software/libraries which claim to be RFC-5424 compliant, but uses
timezone formats that do not fully follow RFC-3339.
Thanks,
--Scott
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.