This attempts to fix GDate and its tests when running on certain locales, specifically locales without daylight saving time and on locales where Windows do not allow "mm/dd/yy" for
So, this updates:
gdate.cto also return the standard name for the timezone when daylight saving time is not used in the current time zone (
TIME_ZONE_ID_UNKNOWN1 2), since there should normally be one even for such time zones.
10/10/76is accepted by
g_date_set_parse()on Windows, since on certain locales this
mm/dd/yyformat may not be accepted but on others it is accepted. If the system rejects
10/10/76, try again using the "yy/mm/dd" format and continue using that format for the rest of the tests in
This will fix
glib/tests/date.c failing when running on Windows in certain locales.
With blessings, thank you!