I think timezone info is now placed in struct tm correctly.
Showing
1 changed file
with
3 additions
and
1 deletions
... | @@ -1486,7 +1486,9 @@ int parse822_date_time(const char** p, const char* e, struct tm* tm) | ... | @@ -1486,7 +1486,9 @@ int parse822_date_time(const char** p, const char* e, struct tm* tm) |
1486 | tm->tm_min = min; | 1486 | tm->tm_min = min; |
1487 | tm->tm_sec = sec; | 1487 | tm->tm_sec = sec; |
1488 | 1488 | ||
1489 | /* TZ ? */ | 1489 | tm->tm_isdst = -1; /* unknown whether it's dst or not */ |
1490 | tm->tm_gmtoff = tz; | ||
1491 | tm->tm_zone = tzname; | ||
1490 | } | 1492 | } |
1491 | 1493 | ||
1492 | return EOK; | 1494 | return EOK; | ... | ... |
-
Please register or sign in to post a comment