Show plain/calendar mail parts.
*/
-#import <SOGoUI/SOGoDateFormatter.h>
+#import <SoObjects/SOGo/SOGoDateFormatter.h>
#import <SoObjects/SOGo/SOGoUser.h>
#import <SoObjects/Appointments/SOGoAppointmentFolder.h>
#import <SoObjects/Appointments/SOGoAppointmentObject.h>
- (SOGoDateFormatter *)dateFormatter {
if (self->dateFormatter == nil) {
- self->dateFormatter =
- [[SOGoDateFormatter alloc] initWithLocale:[self locale]];
- [self->dateFormatter setFullWeekdayNameAndDetails];
+ dateFormatter = [[context activeUser] dateFormatterInContext: context];
+ [dateFormatter retain];
}
+
return self->dateFormatter;
}