]> 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)
committerRainer Gerhards <rgerhards@adiscon.com>
Wed, 4 Mar 2015 17:54:58 +0000 (18:54 +0100)
commit2f267611f0d8d1ea6e9a2f404521e9208390bb21
tree1fd86f3b54473e9b2a58421eb1cae365be4e10de
parentf71d1104df68e9ab7f06878c1c324566721acd66
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