From 0eadf1d3272e989f82bad9c94bd237ca11744c4e Mon Sep 17 00:00:00 2001 From: genofire <geno+dev@fireorbit.de> Date: Thu, 22 Aug 2019 13:45:44 +0000 Subject: [PATCH] fix(py): timezone workaroud --- pycardium/modules/utime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycardium/modules/utime.c b/pycardium/modules/utime.c index bf6862d0..4578d997 100644 --- a/pycardium/modules/utime.c +++ b/pycardium/modules/utime.c @@ -15,7 +15,7 @@ /* MicroPython has its epoch at 2000-01-01. Our RTC is in UTC */ #define EPOCH_OFFSET 946684800UL -#define TZONE_OFFSET 7600UL +#define TZONE_OFFSET 7200UL static mp_obj_t time_set_time(mp_obj_t secs) { -- GitLab