diff --git a/sys/cbor/cbor.c b/sys/cbor/cbor.c index 1753dc3411..c370713e6a 100644 --- a/sys/cbor/cbor.c +++ b/sys/cbor/cbor.c @@ -694,6 +694,8 @@ size_t cbor_deserialize_date_time(const cbor_stream_t *stream, size_t offset, st return 0; } + val->tm_isdst = -1; /* not set by strptime(), undefined in CBOR */ + if (mktime(val) == -1) { return 0; }