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, 5 Sep 2019 20:39:13 +0000 (16:39 -0400)
commitb97f43a7b7abb545feef73a96a9bc8e9af24f5f3
tree37074729a4670f941dfa3cb0a0833134455312fa
parentd44a713b2cbac06383fa85cfa141eff902f47691
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.025918 seconds and 4 git commands to generate.