[glib] tests: change test timezone to America/Toronto
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] tests: change test timezone to America/Toronto
- Date: Mon, 16 Dec 2013 19:55:25 +0000 (UTC)
commit 2731b01c73ecc7ca692fefba1ce14c1aa4f5f5a0
Author: Ryan Lortie <desrt desrt ca>
Date: Tue Dec 10 19:21:33 2013 -0500
tests: change test timezone to America/Toronto
America/Toronto is the canonical name for Canada/Eastern in the zoneinfo
database.
glib/tests/gdatetime.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/tests/gdatetime.c b/glib/tests/gdatetime.c
index ee87c37..f615299 100644
--- a/glib/tests/gdatetime.c
+++ b/glib/tests/gdatetime.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]