Novosibirsk time-zone.

This commit is contained in:
Blaz Kristan
2021-09-26 17:12:13 +02:00
parent 350caee808
commit b852cbdc80
4 changed files with 33 additions and 25 deletions

View File

@@ -40,6 +40,7 @@ Timezone* tz;
#define TZ_AUSTRALIA_NORTHERN 16
#define TZ_AUSTRALIA_SOUTHERN 17
#define TZ_HAWAII 18
#define TZ_NOVOSIBIRSK 19
#define TZ_INIT 255
byte tzCurrent = TZ_INIT; //uninitialized
@@ -140,6 +141,11 @@ void updateTimezone() {
tcrStandard = tcrDaylight;
break;
}
case TZ_NOVOSIBIRSK : {
tcrDaylight = {Last, Sun, Mar, 1, 420}; //CST = UTC + 7 hours
tcrStandard = tcrDaylight;
break;
}
}
tzCurrent = currentTimezone;