]> git.ipfire.org Git - thirdparty/util-linux.git/commit
logger: fix invalid timestamp in rfc5425 format
authorRainer Gerhards <rgerhards@adiscon.com>
Wed, 4 Mar 2015 17:50:30 +0000 (18:50 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 12 Mar 2015 09:15:05 +0000 (10:15 +0100)
commit9efc3268cef117afdfc5b7cab03e4f91b384c3a3
tree3f3528b211a12b5d99603fd4cf839ce5d1d64283
parentef70ccd914c51babf61685d0ea17d0cb7ce58c1c
logger: fix invalid timestamp in rfc5425 format

The timestamp is written as

2015-03-04T15:02:02.566782+0100

unfortunately, this is not an RFC3339 timestamp as demanded by rfc5424.
The colon in the time offset field is missing. The correct timestamp is

2015-03-04T15:02:02.566782+01:00

(Note "+0100" vs. "+01:00")
misc-utils/logger.c