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 /addressbook/backend | |
parent | 62c86e7472d3e4c13726bb6b3c735f1fc47b0151 (diff) | |
download | gsoc2013-evolution-6543d06edf95f7e1e788740930a9a6593465004b.tar.gz 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 'addressbook/backend')
0 files changed, 0 insertions, 0 deletions