Merge pull request #88 from Durobot/master

Fixed: DST name not found if offset contains minutes
pull/92/head
Rop Gonggrijp 6 years ago committed by GitHub
commit cbc14e2a46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -644,6 +644,7 @@ time_t Timezone::tzTime(time_t t, ezLocalOrUTC_t local_or_utc, String &tzname, b
if (c && state == OFFSET_MIN) {
if (!isDigit(c)) {
state = DST_NAME;
dstname_begin = strpos;
ignore_nums = false;
} else {
if (!offset_min) offset_min = atoi(_posix.c_str() + strpos);

Loading…
Cancel
Save