Files
glib/glib/tests
Chun-wei Fan a8f1058d3b glib/tests/date.c: Fix 2-digit year test
...for certain Windows locales, since the formats accepted for
g_date_set_parse() will vary depending on the current system locale.  For
instance, g_date_set_parse(gdate, "dd/mm/yy") is accepted on locales such
as zh-HK (Chinese (Hong Kong SAR)) but is rejected on zh-TW (Chinese
(Taiwan)).

One can tell from the "date format" settings in the Windows system
control panel whether there is a "dd/MM/YYYY" or "dd/MM/YY" option from the
drop-down list of date formats to display for the locale, which will indicate
whether g_date_set_parse(gdate, "dd/mm/yy") is accepted, which is true for
zh-HK but is not true for zh-TW.

If g_date_set_parse(gdate, "dd/mm/yy") is not accepted, try again with
g_date_set_parse(gdate, "yy/mm/dd") thereafter for the 2-digit-year tests.
2022-04-13 00:02:57 +08:00
..
2021-05-13 22:16:27 +01:00
2022-01-27 12:10:13 +01:00
2018-12-17 16:19:31 -05:00
2018-12-28 15:30:28 +01:00
2021-05-13 22:16:27 +01:00
2013-11-23 00:39:07 -05:00
2021-12-15 17:21:20 -08:00
2020-01-21 19:54:55 +04:00
2022-02-11 14:44:09 +00:00
2022-02-22 18:48:01 +00:00
2017-05-24 11:58:19 +02:00
2021-05-13 22:16:27 +01:00
2021-11-27 02:16:22 +05:30
2022-02-22 18:48:01 +00:00