2004-08-15 Helge Hess <helge.hess@skyrix.com>
+ * UIxAppointmentEditor.m: fixed for new time fields (v0.9.51)
+
* fixed time field controls (v0.9.50)
2004-08-15 Marcus Mueller <znek@mulle-kybernetik.com>
NSArray *attendees, *lResources;
#warning TODO: broken for the new date/time selector!
-#if 0
- NSCalendarDate *sd, *ed;
-
- sd = [self _dateFromString:[req formValueForKey:@"startDate"]];
- ed = [self _dateFromString:[req formValueForKey:@"endDate"]];
- if (sd == nil || ed == nil) {
- [self setErrorText:@"missing startdate or enddate ..."]; // localize
- return self;
- }
- [_appointment setStartDate:sd];
- [_appointment setEndDate:ed];
-#endif
+ [_appointment setStartDate:[self aptStartDate]];
+ [_appointment setEndDate:[self aptEndDate]];
[_appointment setSummary:[self title]];
[_appointment setLocation:[self location]];