From 7a8466be68aa1a9dc842ce13daed81f3f6912648 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Tue, 23 Apr 2019 14:14:10 -0400 Subject: [PATCH] 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 --- src/common/time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.34.1