fix time issue
This commit is contained in:
parent
2aec15bd0a
commit
985fde7312
|
@ -184,9 +184,10 @@ int32_t parseTimezone(char* str, int64_t* tzOffset) {
|
||||||
|
|
||||||
i++;
|
i++;
|
||||||
|
|
||||||
while (str[i]) {
|
int32_t j = i;
|
||||||
if ((str[i] >= '0' && str[i] <= '9') || str[i] == ':') {
|
while (str[j]) {
|
||||||
++i;
|
if ((str[j] >= '0' && str[j] <= '9') || str[j] == ':') {
|
||||||
|
++j;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue