aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2009-02-26 12:31:01 +0800
committerSuman Manjunath <msuman@src.gnome.org>2009-02-26 12:31:01 +0800
commita3f682a4d8fe34e30a9dbc858dbf7754c210cda6 (patch)
treeeda38aeb09f25837aea8b70adaba2901f09ff32a
parent33cbf2ebfdb49ced8436654f4a90450d16c0a8dd (diff)
downloadgsoc2013-evolution-a3f682a4d8fe34e30a9dbc858dbf7754c210cda6.tar.gz
gsoc2013-evolution-a3f682a4d8fe34e30a9dbc858dbf7754c210cda6.tar.zst
gsoc2013-evolution-a3f682a4d8fe34e30a9dbc858dbf7754c210cda6.zip
Chenthill Palanisamy <pchenthill@novell.com> ** Part of fix for bug #573198 (Initialize the timezone settings before making any timezone conversion calls).
svn path=/trunk/; revision=37339
-rw-r--r--widgets/table/ChangeLog7
-rw-r--r--widgets/table/e-cell-date.c3
2 files changed, 9 insertions, 1 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog
index 8be11090bf..8abd4d19a2 100644
--- a/widgets/table/ChangeLog
+++ b/widgets/table/ChangeLog
@@ -1,3 +1,10 @@
+2009-02-26 Chenthill Palanisamy <pchenthill@novell.com>
+
+ ** Part of fix for bug #573198
+
+ * e-cell-date.c (ecd_get_text): Initialize the timezone settings
+ before making any timezone conversion calls.
+
2009-02-19 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #572348
diff --git a/widgets/table/e-cell-date.c b/widgets/table/e-cell-date.c
index 1ec554515e..ac0274f183 100644
--- a/widgets/table/e-cell-date.c
+++ b/widgets/table/e-cell-date.c
@@ -54,7 +54,8 @@ ecd_get_text(ECellText *cell, ETableModel *model, int col, int row)
if (date == 0) {
return g_strdup (_("?"));
}
-
+
+ tzset ();
localtime_r (&date, &then);
localtime_r (&nowdate, &now);