Branch 'roundcubemail-plugins-kolab-0.7' - plugins/calendar
    Aleksander Machniak 
    machniak at kolabsys.com
       
    Wed Oct 10 18:48:09 CEST 2012
    
    
  
 plugins/calendar/calendar.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d67fc01360bc1ee181caf614e9e7026f206ca1ff
Author: Aleksander Machniak <machniak at kolabsys.com>
Date:   Wed Oct 10 18:47:27 2012 +0200
    Fix DateTime constructor in code added in last commit
diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php
index 8160cb7..b08a836 100644
--- a/plugins/calendar/calendar.php
+++ b/plugins/calendar/calendar.php
@@ -120,7 +120,7 @@ class calendar extends rcube_plugin
         $this->user_timezone = new DateTimeZone($this->timezone);
     }
 
-    $now = new DateTime('now', $this->timezone);
+    $now = new DateTime('now', $this->user_timezone);
     $this->gmt_offset = $now->getOffset();
     $this->dst_active = $now->format('I');
 
    
    
More information about the commits
mailing list