Fix: max len for iso8601 format is 26
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 23 Apr 2019 18:14:10 +0000 (14:14 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 1 May 2019 21:22:27 +0000 (17:22 -0400)
The expended format of iso8601 is:
    2019-04-23T18:03:48+00:00

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
src/common/time.h

index 7e760599fd54ba6c2f0f8c2e400b5c4e00f1e0d1..5ea8c66286f3d5d79ef9abdb959caa784debd697 100644 (file)
@@ -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.
This page took 0.027666 seconds and 5 git commands to generate.