path: root/doc/ulogd.sgml
diff options
authorVincent Bernat <>2015-10-02 17:00:58 +0200
committerEric Leblond <>2015-10-02 17:11:04 +0200
commitb09205b017cef10467e04b3c7ade31cc34577505 (patch)
tree391729d2bcd73b6c819e0bc5465f909ce8f5f02a /doc/ulogd.sgml
parent0ea23cc7ad69556c71787a791fd8e13942540f16 (diff)
json: append timezone information to ISO 8601 date
While this is not strictly needed for ISO 8601, this is helpful since otherwise, the receiver can't assume anything about the timezone. This uses a GNU extension but as ulogd is quite Linux-specific, this shouldn't be a problem. The POSIX variables (tzname and daylight) are quite difficult to use because daylight handling is incomplete (daylight don't say if DST is now in effect, it just says it is sometimes in effect). A timezone offset is used instead of a timezone since it is usually easier to parse (strptime in glibc is not able to parse a timezone name) and don't require an up-to-date TZ database. Signed-off-by: Vincent Bernat <>
Diffstat (limited to 'doc/ulogd.sgml')
0 files changed, 0 insertions, 0 deletions