Monotone-Parent: a57c1371e929b419ef93b5ef8ac792715c9203bf

Monotone-Revision: 137ce0e5b4a2b4afe3b810e582cbe613caf2bb20

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-26T16:23:02
maint-2.0.2
Wolfgang Sourdeau 2012-03-26 16:23:02 +00:00
parent d2a77d22c7
commit 027d9d6f36
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2012-03-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* iCalDateTime.m (_setDateTime:forAllDayEntity:): set or unset the
"VALUE" parameter to the date instance, depending on its the
all-dayness.
2012-03-11 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* iCalEvent.m (-hasDuration): returns NO when the value is present

View File

@ -137,6 +137,11 @@
else
timeString = @"";
if (forAllDayEntity)
[self setValue: 0 ofAttribute: @"VALUE" to: @"DATE"];
else
[self removeValue: @"DATE" fromAttribute: @"VALUE"];
[self setSingleValue: timeString forKey: @""];
}