Skip to content
Myr

jq.test: drop non-portable %F test (#3365)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

%F is a non-portable GNU extension, not supported by all strptime implementations (for example musl's).

authored by Alyssa Ross · committed by GitHub · parent b9e19de · Browse files · 1 file+0 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−4 removed

  • tests:+0 added−4 removed

1 file+0 added−4 removed

modified:tests/jq.test-4 removed
1846 unmodified lines
1847[strptime("%Y-%m-%dT%H:%M:%SZ")|(.,mktime)]1848"2015-03-05T23:51:47Z"1849[[2015,2,5,23,51,47,4,63],1425599507]18501851[strptime("%FT%T")|(.,mktime)]1852"2025-06-07T08:09:10"1853[[2025,5,7,8,9,10,6,157],1749283750]18541851# Check day-of-week and day of year computations1852# (should trip an assert if this fails)1853last(range(365 * 67)|("1970-03-01T01:02:03Z"|strptime("%Y-%m-%dT%H:%M:%SZ")|mktime) + (86400 * .)|strftime("%Y-%m-%dT%H:%M:%SZ")|strptime("%Y-%m-%dT%H:%M:%SZ"))1854null
651 unmodified lines