tests: change test timezone to America/Toronto
authorRyan Lortie <desrt@desrt.ca>
Wed, 11 Dec 2013 00:21:33 +0000 (19:21 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 16 Dec 2013 19:55:12 +0000 (14:55 -0500)
America/Toronto is the canonical name for Canada/Eastern in the zoneinfo
database.

glib/tests/gdatetime.c

index ee87c37..f615299 100644 (file)
@@ -1322,7 +1322,7 @@ test_find_interval (void)
   gint i1, i2;
 
 #ifdef G_OS_UNIX
-  tz = g_time_zone_new ("Canada/Eastern");
+  tz = g_time_zone_new ("America/Toronto");
 #elif defined G_OS_WIN32
   tz = g_time_zone_new ("Eastern Standard Time");
 #endif
@@ -1355,7 +1355,7 @@ test_adjust_time (void)
   gint i1, i2;
 
 #ifdef G_OS_UNIX
-  tz = g_time_zone_new ("Canada/Eastern");
+  tz = g_time_zone_new ("America/Toronto");
 #elif defined G_OS_WIN32
   tz = g_time_zone_new ("Eastern Standard Time");
 #endif