Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The following behaviour demonstrates how the daylight savings value gets lost when a time value gets turned into an internal array of numbers and then back into a (struct tm): $ TZ=Europe/London ./jq -r -n '1504803635 | strflocaltime("%Y-%m-%d %H:%M:%S (%Z)")' 2017-09-07 18:00:35 (GMT) After this change however, this works as expected: $ TZ=Europe/London ./jq -r -n '1504803635 | strflocaltime("%Y-%m-%d %H:%M:%S (%Z)")' 2017-09-07 18:00:35 (BST)
- Loading branch information