From: Jonathan Rajotte Date: Tue, 23 Apr 2019 18:14:10 +0000 (-0400) Subject: Fix: max len for iso8601 format is 26 X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=7a8466be68aa1a9dc842ce13daed81f3f6912648 Fix: max len for iso8601 format is 26 The expended format of iso8601 is: 2019-04-23T18:03:48+00:00 Signed-off-by: Jonathan Rajotte --- diff --git a/src/common/time.h b/src/common/time.h index 7e760599f..5ea8c6628 100644 --- a/src/common/time.h +++ b/src/common/time.h @@ -47,7 +47,7 @@ bool locale_supports_utf8(void); #define HR_UNIT "h" #define ISO8601_FORMAT "%Y%m%dT%H%M%S%z" -#define ISO8601_LEN 21 +#define ISO8601_LEN 26 /* * timespec_to_ms: Convert timespec to milliseconds.