Merge branch 'win-date-fixes' into 'master'

gdate: Use a more recent year when fetching the month names. Fixes #1386

Closes #1386

See merge request GNOME/glib!40
This commit is contained in:
Philip Withnall 2018-05-29 16:35:12 +00:00
commit 2dce3ce125

View File

@ -1088,7 +1088,7 @@ g_date_prepare_to_parse (const gchar *str,
{
gchar *casefold;
g_date_set_dmy (&d, 1, i, 1);
g_date_set_dmy (&d, 1, i, 1976);
g_return_if_fail (g_date_valid (&d));