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 @@ -519,7 +519,7 @@ again: switch (c = *fmt++) {
519519 return (NULL );
520520 flb_tm_gmtoff (tm ) = 0 ;
521521 tm -> tm .tm_isdst = 0 ;
522- flb_tm_zone (tm ) = "UTC" ;
522+ flb_tm_zone (tm ) = utc ;
523523 /* %s format does not handle timezone */
524524 fields = 0xffff ; /* everything */
525525 }
@@ -682,7 +682,7 @@ again: switch (c = *fmt++) {
682682 return NULL ;
683683 tm -> tm .tm_isdst = 0 ;
684684 flb_tm_gmtoff (tm ) = 0 ;
685- flb_tm_zone (tm ) = "GMT" ; /* Original had global gmt array */
685+ flb_tm_zone (tm ) = gmt ; /* Original had global gmt array */
686686 continue ;
687687 case 'U' :
688688 if (* bp ++ != 'T' )
@@ -692,7 +692,7 @@ again: switch (c = *fmt++) {
692692 bp ++ ; /* Allow "UTC" */
693693 tm -> tm .tm_isdst = 0 ;
694694 flb_tm_gmtoff (tm ) = 0 ;
695- flb_tm_zone (tm ) = "UTC" ; /* Original had global utc array */
695+ flb_tm_zone (tm ) = utc ; /* Original had global utc array */
696696 continue ;
697697 case 'Z' :
698698 tm -> tm .tm_isdst = 0 ;
You can’t perform that action at this time.
0 commit comments