mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
glib/tests: add comment about %Z strftime on w32
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
11997a4d25
commit
acb46f8b36
@ -801,8 +801,13 @@ test_strftime (void)
|
||||
g_assert_cmpstr (buf, ==, strftime_checks[i].expect);
|
||||
}
|
||||
|
||||
/* Time zone is too versatile on OS_WIN32 to be checked precisely */
|
||||
#ifdef G_OS_WIN32
|
||||
/*
|
||||
* Time zone is too versatile on OS_WIN32 to be checked precisely,
|
||||
* According to msdn: "Either the locale's time-zone name
|
||||
* or time zone abbreviation, depending on registry settings; no characters
|
||||
* if time zone is unknown".
|
||||
*/
|
||||
g_assert_cmpint (g_date_strftime (buf, sizeof (buf), "%Z", d), !=, 0);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user