mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 02:35:23 +03:00
29 lines
927 B
Text
29 lines
927 B
Text
From 7b3a80a1e8b958b8fd42f74d973b28b4eb495fbc Mon Sep 17 00:00:00 2001
|
|
From: Quentin Glidic <sardemff7+git@sardemff7.net>
|
|
Date: Mon, 3 Oct 2022 12:34:53 +0200
|
|
Subject: [PATCH] format-string/test: Fix for GLib 2.73.1 %e time format
|
|
|
|
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
|
|
---
|
|
tests/format-string.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/tests/format-string.c b/tests/format-string.c
|
|
index d98ed70..485d149 100644
|
|
--- a/tests/format-string.c
|
|
+++ b/tests/format-string.c
|
|
@@ -677,7 +677,11 @@ static const struct {
|
|
{ .name = "timestamp", .content = "1519910048" },
|
|
{ .name = NULL }
|
|
},
|
|
+#if GLIB_CHECK_VERSION(2,73,1)
|
|
+ .result = "Thu Mar \u20071 13:14:08 2018"
|
|
+#else /* ! GLIB_CHECK_VERSION(2,73,1) */
|
|
.result = "Thu Mar 1 13:14:08 2018"
|
|
+#endif /* ! GLIB_CHECK_VERSION(2,73,1) */
|
|
}
|
|
},
|
|
{
|
|
--
|
|
2.38.0
|
|
|