Novosibirsk time-zone.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user