We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39ab798 commit e12062bCopy full SHA for e12062b
src/flb_strptime.c
@@ -520,12 +520,7 @@ again: switch (c = *fmt++) {
520
flb_tm_gmtoff(tm) = 0;
521
tm->tm.tm_isdst = 0;
522
flb_tm_zone(tm) = "UTC";
523
- for(i=0; flb_known_timezones[i].abbr != NULL; ++i) { /* Prefer "UTC" from list if available */
524
- if (strcmp(flb_known_timezones[i].abbr, "UTC") == 0) {
525
- flb_tm_zone(tm) = flb_known_timezones[i].abbr;
526
- break;
527
- }
528
+ /* %s format does not handle timezone */
529
fields = 0xffff; /* everything */
530
}
531
break;
0 commit comments