aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-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);