diff options
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0/fix-nl-abaltmon.patch | 44 |
1 files changed, 43 insertions, 1 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/fix-nl-abaltmon.patch b/meta/recipes-core/glib-2.0/glib-2.0/fix-nl-abaltmon.patch index 5c1488bc41..c36a397fef 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0/fix-nl-abaltmon.patch +++ b/meta/recipes-core/glib-2.0/glib-2.0/fix-nl-abaltmon.patch | |||
@@ -1,4 +1,6 @@ | |||
1 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/glib/merge_requests/828] | 1 | Fix the last few remaining bugs in glib's date/locale code. |
2 | |||
3 | Upstream-Status: Backport | ||
2 | Signed-off-by: Ross Burton <ross.burton@intel.com> | 4 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
3 | 5 | ||
4 | From 93d8482384ebc5c7d1f3d92b0190db0371269663 Mon Sep 17 00:00:00 2001 | 6 | From 93d8482384ebc5c7d1f3d92b0190db0371269663 Mon Sep 17 00:00:00 2001 |
@@ -60,3 +62,43 @@ index c5d2ce5f8..08fa40ac5 100644 | |||
60 | 62 | ||
61 | -- | 63 | -- |
62 | 2.18.1 | 64 | 2.18.1 |
65 | |||
66 | From 35c28be32762d5af6b93cb6a3420c5977f7bf599 Mon Sep 17 00:00:00 2001 | ||
67 | From: Rafal Luzynski <digitalfreak@lingonborough.com> | ||
68 | Date: Mon, 13 May 2019 23:11:28 +0200 | ||
69 | Subject: [PATCH] tests: Update month name check for Greek locale | ||
70 | MIME-Version: 1.0 | ||
71 | Content-Type: text/plain; charset=UTF-8 | ||
72 | Content-Transfer-Encoding: 8bit | ||
73 | |||
74 | Update the abbreviated month name in the test to match the actual | ||
75 | translation. Otherwise the test fails with false positive. | ||
76 | |||
77 | Vocabulary: | ||
78 | |||
79 | July (nominative) - Greek: Ιούλιος (abbreviated: Ιούλ) | ||
80 | Of July (genitive) - Greek: Ιουλίου (abbreviated: Ιουλ) | ||
81 | |||
82 | This is similar to commit 4d215e006ee69bd7a993bf853722993433adbf9a | ||
83 | and commit 7fe793e125c316ac34edd8158df5a132cb044bc1. | ||
84 | |||
85 | Closes #1776 | ||
86 | --- | ||
87 | glib/tests/date.c | 2 +- | ||
88 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
89 | |||
90 | diff --git a/glib/tests/date.c b/glib/tests/date.c | ||
91 | index 8eb28712b..ff13ad101 100644 | ||
92 | --- a/glib/tests/date.c | ||
93 | +++ b/glib/tests/date.c | ||
94 | @@ -388,7 +388,7 @@ test_month_names (void) | ||
95 | TEST_DATE ( 1, 4, 2018, "%OB %Y", "Απρίλιος 2018"); | ||
96 | TEST_DATE ( 1, 5, 2018, "%OB %Y", "Μάιος 2018"); | ||
97 | TEST_DATE ( 1, 6, 2018, "%OB %Y", "Ιούνιος 2018"); | ||
98 | - TEST_DATE (16, 7, 2018, "%e %b %Y", "16 Ιούλ 2018"); | ||
99 | + TEST_DATE (16, 7, 2018, "%e %b %Y", "16 Ιουλ 2018"); | ||
100 | TEST_DATE ( 1, 8, 2018, "%Ob %Y", "Αύγ 2018"); | ||
101 | } | ||
102 | else | ||
103 | -- | ||
104 | 2.18.1 | ||