From: Jérémie Galarneau Date: Fri, 17 May 2019 20:03:25 +0000 (-0400) Subject: Add a time_to_iso8601_str() utility X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=274ca939e0a5baa74d4ff61518ed0af7b0da5465;hp=274ca939e0a5baa74d4ff61518ed0af7b0da5465 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 ---