Monotone-Parent: b81c5b1570ede0294a166ba113ea0402585963ef
Monotone-Revision: 3153e42cfafdd9f2a07623a78af07f4b4e837945 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-01-06T19:16:55 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
a24233c376
commit
1169e642e7
|
@ -74,10 +74,10 @@
|
||||||
SOGoUserDefaults *ud;
|
SOGoUserDefaults *ud;
|
||||||
int minuteValue;
|
int minuteValue;
|
||||||
|
|
||||||
ud = [[context activeUser] userDefaults];
|
|
||||||
if (!_date)
|
if (!_date)
|
||||||
_date = [NSCalendarDate date];
|
_date = [NSCalendarDate date];
|
||||||
|
|
||||||
|
ud = [[context activeUser] userDefaults];
|
||||||
[_date setTimeZone: [ud timeZone]];
|
[_date setTimeZone: [ud timeZone]];
|
||||||
|
|
||||||
[self _setDate: _date];
|
[self _setDate: _date];
|
||||||
|
@ -252,8 +252,6 @@
|
||||||
unsigned _year, _month, _day, _hour, _minute, _second;
|
unsigned _year, _month, _day, _hour, _minute, _second;
|
||||||
SOGoUserDefaults *ud;
|
SOGoUserDefaults *ud;
|
||||||
|
|
||||||
ud = [[context activeUser] userDefaults];
|
|
||||||
|
|
||||||
/* call super, so that the form values are applied on the popups */
|
/* call super, so that the form values are applied on the popups */
|
||||||
[super takeValuesFromRequest:_rq inContext:_ctx];
|
[super takeValuesFromRequest:_rq inContext:_ctx];
|
||||||
|
|
||||||
|
@ -269,9 +267,10 @@
|
||||||
_minute = [[self minute] intValue];
|
_minute = [[self minute] intValue];
|
||||||
_second = [[self second] intValue];
|
_second = [[self second] intValue];
|
||||||
|
|
||||||
d = [NSCalendarDate dateWithYear: _year month:_month day:_day
|
ud = [[context activeUser] userDefaults];
|
||||||
hour:_hour minute:_minute second:_second
|
d = [NSCalendarDate dateWithYear: _year month: _month day: _day
|
||||||
timeZone: [ud timeZone]];
|
hour: _hour minute: _minute second: _second
|
||||||
|
timeZone: [ud timeZone]];
|
||||||
[self _setDate: d];
|
[self _setDate: d];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue