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++;
|
||||
|
||||
while (str[i]) {
|
||||
if ((str[i] >= '0' && str[i] <= '9') || str[i] == ':') {
|
||||
++i;
|
||||
int32_t j = i;
|
||||
while (str[j]) {
|
||||
if ((str[j] >= '0' && str[j] <= '9') || str[j] == ':') {
|
||||
++j;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue