mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-14 09:06:25 +02:00
29 lines
1017 B
Diff
29 lines
1017 B
Diff
Patch-Source: https://github.com/jqlang/jq/pull/3365
|
|
---
|
|
From 63e9449a8142ce30c83fcd7e9396e5de9843774e Mon Sep 17 00:00:00 2001
|
|
From: Alyssa Ross <hi@alyssa.is>
|
|
Date: Thu, 3 Jul 2025 11:00:13 +0200
|
|
Subject: [PATCH] jq.test: drop non-portable %F test
|
|
|
|
%F is a non-portable GNU extension, not supported by all strptime
|
|
implementations (for example musl's).
|
|
---
|
|
tests/jq.test | 4 ----
|
|
1 file changed, 4 deletions(-)
|
|
|
|
diff --git a/tests/jq.test b/tests/jq.test
|
|
index 4ecf72ffdc..6bfb6f853c 100644
|
|
--- a/tests/jq.test
|
|
+++ b/tests/jq.test
|
|
@@ -1848,10 +1848,6 @@ try ["OK", strflocaltime({})] catch ["KO", .]
|
|
"2015-03-05T23:51:47Z"
|
|
[[2015,2,5,23,51,47,4,63],1425599507]
|
|
|
|
-[strptime("%FT%T")|(.,mktime)]
|
|
-"2025-06-07T08:09:10"
|
|
-[[2025,5,7,8,9,10,6,157],1749283750]
|
|
-
|
|
# Check day-of-week and day of year computations
|
|
# (should trip an assert if this fails)
|
|
last(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"))
|