diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-12-14 14:09:25 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-12-14 14:09:25 +0800 |
commit | 55d696992dac8e8650d8d98b367e231e564212cd (patch) | |
tree | f065c14fe4242e045a3de59cd0ef8d1a1ada7046 /libical/ChangeLog | |
parent | 5ff2d06f63f5596ac2bd8f991f5f207fe92e6f1f (diff) | |
download | gsoc2013-evolution-55d696992dac8e8650d8d98b367e231e564212cd.tar.gz gsoc2013-evolution-55d696992dac8e8650d8d98b367e231e564212cd.tar.zst gsoc2013-evolution-55d696992dac8e8650d8d98b367e231e564212cd.zip |
Use gmtime() unconditionally, since we want an UTC broken-down
2000-12-13 Federico Mena Quintero <federico@helixcode.com>
* 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
Diffstat (limited to 'libical/ChangeLog')
-rw-r--r-- | libical/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libical/ChangeLog b/libical/ChangeLog index d686ba26e7..0d70241538 100644 --- a/libical/ChangeLog +++ b/libical/ChangeLog @@ -1,5 +1,13 @@ 2000-12-13 Federico Mena Quintero <federico@helixcode.com> + * 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 <federico@helixcode.com> + * src/libical/icaltime.c (icaltime_from_timet): time_t values *are* in UTC by definition, so the is_utc argument is useless. Removed the conversion to UTC and made the icaltimetype.is_utc be |