]> err.no Git - scalable-opengroupware.org/blobdiff - SOGo/UI/SOGoUI/UIxComponent.m
minor additions
[scalable-opengroupware.org] / SOGo / UI / SOGoUI / UIxComponent.m
index c52f0b93a0521fcd0dd117cf03534dce89a2347e..5bda9cd0c66bb4f2686720052ef4746cf239821f 100644 (file)
 @implementation UIxComponent
 
 static NSTimeZone *MET = nil;
+static NSTimeZone *GMT = nil;
 
 + (void)initialize {
-  if (MET == nil) MET = [[NSTimeZone timeZoneWithAbbreviation:@"MET"] retain];
+  if (MET == nil) {
+    MET = [[NSTimeZone timeZoneWithAbbreviation:@"MET"] retain];
+    GMT = [[NSTimeZone timeZoneWithAbbreviation:@"GMT"] retain];
+  }
 }
 
 - (id)init {
@@ -158,6 +162,10 @@ static NSTimeZone *MET = nil;
   return MET;
 }
 
+- (NSTimeZone *)backendTimeZone {
+  return GMT;
+}
+
 - (NSCalendarDate *)selectedDate {
   NSString       *s;
   NSCalendarDate *cdate;