]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libcommon: add ISO_8601_GMTIME that will print UTC-0 timestamps
authorSami Kerola <kerolasa@iki.fi>
Sun, 19 Jun 2016 20:43:40 +0000 (21:43 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sun, 26 Jun 2016 20:58:18 +0000 (21:58 +0100)
commitc1616946825e7f4ae9769e2846e9ad63a7ba369c
treee13a75af86ebbed9210c563a22fa55a3cc59b63d
parent3749bdcecfb799619555de2eff9636cb93509eb5
libcommon: add ISO_8601_GMTIME that will print UTC-0 timestamps

When timestamps are intented to be conversable back from string to binary it
is best to stick with UTC-0 timezone.  This is needed in utmpdump(1).

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
include/timeutils.h
lib/timeutils.c