From 55d696992dac8e8650d8d98b367e231e564212cd Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 14 Dec 2000 06:09:25 +0000 Subject: Use gmtime() unconditionally, since we want an UTC broken-down 2000-12-13 Federico Mena Quintero * src/libical/icaltime.c (icaltime_from_timet): Use gmtime() unconditionally, since we want an UTC broken-down representation. (icaltime_as_timet): Add the offset only if the time was supposed to be in UTC; that way mktime() will get a proper localtime as source data. svn path=/trunk/; revision=6996 --- libical/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libical/ChangeLog') diff --git a/libical/ChangeLog b/libical/ChangeLog index d686ba26e7..0d70241538 100644 --- a/libical/ChangeLog +++ b/libical/ChangeLog @@ -1,3 +1,11 @@ +2000-12-13 Federico Mena Quintero + + * src/libical/icaltime.c (icaltime_from_timet): Use gmtime() + unconditionally, since we want an UTC broken-down representation. + (icaltime_as_timet): Add the offset only if the time was supposed + to be in UTC; that way mktime() will get a proper localtime as + source data. + 2000-12-13 Federico Mena Quintero * src/libical/icaltime.c (icaltime_from_timet): time_t values -- cgit v1.2.3