]> err.no Git - scalable-opengroupware.org/commitdiff
timezone hack
authorznek <znek@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 16 Aug 2004 09:54:09 +0000 (09:54 +0000)
committerznek <znek@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 16 Aug 2004 09:54:09 +0000 (09:54 +0000)
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@249 d1b88da0-ebda-0310-925b-ed51d893ca5b

SOGo/UI/Scheduler/ChangeLog
SOGo/UI/Scheduler/UIxTimeDateControl.m
SOGo/UI/Scheduler/Version

index 8b0273c27e142f0f3dc1359fed5f78d95c9c99b0..270023d2dab006832914dbf3e273ac8cf181d5bc 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-16  Marcus Mueller  <znek@mulle-kybernetik.com>
+
+       * v0.9.56
+
+       * UIxTimeDateControl.m: HACK: added correct timeZone.
+
 2004-08-16  Helge Hess  <helge.hess@skyrix.com>
 
        * v0.9.55
@@ -6,7 +12,7 @@
        
        * UIxAppointmentEditor.m: add default start/enddates
        
-2004-08-15  Marcus Mueller  <znek@mulle-kybernetik.com>
+2004-08-16  Marcus Mueller  <znek@mulle-kybernetik.com>
 
        * v0.9.54
 
index a86defa0a3f1c66ff08304b5241878ba2fd4df14..5a981c9d698a1ac21c08417bd0e14128a5844e8e 100644 (file)
 
 @implementation UIxTimeDateControl
 
+static NSTimeZone *MET = nil;
+
++ (void)initialize {
+    if (MET == nil) {
+        MET = [[NSTimeZone timeZoneWithAbbreviation:@"MET"] retain];
+    }
+}
+
 - (void)dealloc {
   [self->controlID release];
   [self->label     release];
                               hour:_hour
                             minute:_minute
                             second:_second
-                          timeZone:[[self date] timeZone]];
+                          timeZone:MET];
   [self debugWithFormat:@"%s setting date:%@", __PRETTY_FUNCTION__, d];
   [self _setDate:d];
 }
index 8518823caac5ecf305d62a490046d5fb7576da9c..30fb2be909d9708e00e5d73fd081af30a00e947a 100644 (file)
@@ -1,6 +1,6 @@
 # $Id$
 
-SUBMINOR_VERSION:=55
+SUBMINOR_VERSION:=56
 
 # v0.9.41 requires libNGObjWeb     v4.2.431
 # v0.9.31 requires libWEExtensions v4.2.52