diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-09-27 07:10:08 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-09-27 07:10:08 +0800 |
commit | 6543d06edf95f7e1e788740930a9a6593465004b (patch) | |
tree | 1efc9b2257ba9086b1e4910222afd33ab3b61e38 /libical/ChangeLog | |
parent | 62c86e7472d3e4c13726bb6b3c735f1fc47b0151 (diff) | |
download | gsoc2013-evolution-6543d06edf95f7e1e788740930a9a6593465004b.tar gsoc2013-evolution-6543d06edf95f7e1e788740930a9a6593465004b.tar.gz gsoc2013-evolution-6543d06edf95f7e1e788740930a9a6593465004b.tar.bz2 gsoc2013-evolution-6543d06edf95f7e1e788740930a9a6593465004b.tar.lz gsoc2013-evolution-6543d06edf95f7e1e788740930a9a6593465004b.tar.xz gsoc2013-evolution-6543d06edf95f7e1e788740930a9a6593465004b.tar.zst gsoc2013-evolution-6543d06edf95f7e1e788740930a9a6593465004b.zip |
Fix the libical-related part of Ximian bug #7892.
2001-09-26 Federico Mena Quintero <federico@ximian.com>
Fix the libical-related part of Ximian bug #7892.
* src/libical/icalduration.c (icaldurationtype_as_ical_string):
The correct string for zero seconds is "PT0S", not "PTS0". Also
handle "negative zero" durations.
* src/libical/icalvalue.c (icalvalue_new_from_string_with_error):
Use icalerrno to see if the duration string is invalid. We cannot
use icaldurationtype_is_null_duration() because a duration of zero
*is* valid, not an error (icalduration_type_from_string() returns
a zero duration on parse error, too).
svn path=/trunk/; revision=13172
Diffstat (limited to 'libical/ChangeLog')
-rw-r--r-- | libical/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libical/ChangeLog b/libical/ChangeLog index bb1cb362f0..41d6d84ad0 100644 --- a/libical/ChangeLog +++ b/libical/ChangeLog @@ -1,3 +1,17 @@ +2001-09-26 Federico Mena Quintero <federico@ximian.com> + + Fix the libical-related part of Ximian bug #7892. + + * src/libical/icalduration.c (icaldurationtype_as_ical_string): + The correct string for zero seconds is "PT0S", not "PTS0". Also + handle "negative zero" durations. + + * src/libical/icalvalue.c (icalvalue_new_from_string_with_error): + Use icalerrno to see if the duration string is invalid. We cannot + use icaldurationtype_is_null_duration() because a duration of zero + *is* valid, not an error (icalduration_type_from_string() returns + a zero duration on parse error, too). + 2001-09-19 Larry Ewing <lewing@ximian.com> * src/libical/icalperiod.c (icalperiodtype_from_string): free the |