Various glib/tests/date fixes on win32

Marc-André Lureau requested to merge malureau/glib:w32-tests-date into main

Related to #1371

Merge request reports