Add a time_to_iso8601_str() utility
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 17 May 2019 20:03:25 +0000 (16:03 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 18 Jul 2019 19:58:24 +0000 (15:58 -0400)
commit274ca939e0a5baa74d4ff61518ed0af7b0da5465
treee1100432e607f23204c79767d8b7c7a68c6799fd
parentfd774fc6fa1c368a400976ad362e4f60f46e9861
Add a time_to_iso8601_str() utility

time_to_iso8601_str() formats a Unix timestamp to an ISO 8601
compatible string. For now, the only ISO 8601 time format used
in LTTng-tools is the "YYYYmmddTHHMMSS+HHMM" form used by the
session rotation feature.

Since ISO 8601 allows many formats, this functions may need to be
renamed at some point.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/time.c
src/common/time.h
This page took 0.024882 seconds and 4 git commands to generate.