You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
jq does not print the timezone correctly expanding the %Z in the time format for strftime/strflocaltime when it comes to DST. To Reproduce
Using the example from the wiki...
$ TZ=Europe/Rome ./jq-linux64 -cn 'now|strflocaltime("%Y-%m-%dT%H:%M:%S %Z")'
"2019-05-28T17:10:54 CET"
$ TZ=Europe/Rome date +"%Y-%m-%dT%H:%M:%S %Z"
2019-05-28T17:10:54 CEST
date reports, correctly, CEST as the timezone taking DST into account. jq does not.
Expected behavior
The output of jq to specify the correct timezone following DST
Environment (please complete the following information):
Linux Ubuntu 16.04
jq version 1.6
devesh, spali, krzyk, poettig, wchargin and 2 more