File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -556,7 +556,7 @@ again: switch (c = *fmt++) {
556556 return (NULL );
557557 flb_tm_gmtoff (tm ) = 0 ;
558558 tm -> tm .tm_isdst = 0 ;
559- flb_tm_zone (tm ) = "UTC" ;
559+ flb_tm_zone (tm ) = utc ;
560560 /* %s format does not handle timezone */
561561 fields = 0xffff ; /* everything */
562562 }
@@ -719,7 +719,7 @@ again: switch (c = *fmt++) {
719719 return NULL ;
720720 tm -> tm .tm_isdst = 0 ;
721721 flb_tm_gmtoff (tm ) = 0 ;
722- flb_tm_zone (tm ) = "GMT" ; /* Original had global gmt array */
722+ flb_tm_zone (tm ) = gmt ; /* Original had global gmt array */
723723 continue ;
724724 case 'U' :
725725 if (* bp ++ != 'T' )
@@ -729,7 +729,7 @@ again: switch (c = *fmt++) {
729729 bp ++ ; /* Allow "UTC" */
730730 tm -> tm .tm_isdst = 0 ;
731731 flb_tm_gmtoff (tm ) = 0 ;
732- flb_tm_zone (tm ) = "UTC" ; /* Original had global utc array */
732+ flb_tm_zone (tm ) = utc ; /* Original had global utc array */
733733 continue ;
734734 case 'Z' :
735735 tm -> tm .tm_isdst = 0 ;
You can’t perform that action at this time.
0 commit comments