From f1372827c1308f597511c9e1758f9ce06f4951f1 Mon Sep 17 00:00:00 2001 From: Igor Socec Date: Sat, 12 Nov 2016 22:04:12 +0100 Subject: [PATCH] Date format follows ISO, device path size increased --- moxerver.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/moxerver.h b/moxerver.h index 5e25a19..4f0e9bc 100644 --- a/moxerver.h +++ b/moxerver.h @@ -13,9 +13,9 @@ #include #define DATABUF_LEN 128 -#define DEV_PATH 32 -#define TIMESTAMP_FORMAT "%d.%m.%Y. %H:%M:%S" -#define TIMESTAMP_LEN 20+1 /* calculated following timestamp format */ +#define DEV_PATH 128 +#define TIMESTAMP_FORMAT "%Y-%m-%dT%H:%M:%S" /* ISO 8601 */ +#define TIMESTAMP_LEN 20+1 /* calculated following the timestamp format */ #define CONFILE "moxanix.cfg" #define USERNAME_LEN 32