phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] calendar/inc/class.boicalendar.inc.php, 1.16.2.4.2.5


From: nomail
Subject: [Phpgroupware-cvs] calendar/inc/class.boicalendar.inc.php, 1.16.2.4.2.5
Date: Mon, 7 Jun 2004 01:17:06 +0200

Update of /calendar/inc
Modified Files:
        Branch: Version-0_9_16-branch
          class.boicalendar.inc.php

date: 2004/06/06 23:17:06;  author: skwashd;  state: Exp;  lines: +4 -4

Log Message:
fix for bug #9183
=====================================================================
Index: calendar/inc/class.boicalendar.inc.php
diff -u calendar/inc/class.boicalendar.inc.php:1.16.2.4.2.4 
calendar/inc/class.boicalendar.inc.php:1.16.2.4.2.5
--- calendar/inc/class.boicalendar.inc.php:1.16.2.4.2.4 Sat May  1 09:58:22 2004
+++ calendar/inc/class.boicalendar.inc.php      Sun Jun  6 23:17:06 2004
@@ -2013,7 +2013,7 @@
                                        {
                                                if($this->api)
                                                {
-                                                       $dtime['hour'] -= 
$GLOBALS['phpgw_info']['users']['common']['tz_offset'];
+                                                       $dtime['hour'] -= 
$GLOBALS['phpgw_info']['user']['preferences']['common']['tz_offset'];
                                                        if($dtime['hour'] < 0)
                                                        {
                                                                $dtime['mday'] 
-= 1;
@@ -2036,7 +2036,7 @@
                                         */
 //                                     if($this->api)
 //                                     {
-//                                             $dtime['hour'] -= 
$GLOBALS['phpgw_info']['users']['common']['tz_offset'];
+//                                             $dtime['hour'] -= 
$GLOBALS['phpgw_info']['user']['preferences']['common']['tz_offset'];
 //                                             if($dtime['hour'] < 0)
 //                                             {
 //                                                     $dtime['mday'] -= 1;
@@ -2057,7 +2057,7 @@
                                $this->set_var($dtime,'sec',0);
                                if($this->api)
                                {
-                                       $dtime['hour'] -= 
$GLOBALS['phpgw_info']['users']['common']['tz_offset'];
+                                       $dtime['hour'] -= 
$GLOBALS['phpgw_info']['user']['preferences']['common']['tz_offset'];
                                        if($dtime['hour'] < 0)
                                        {
                                                $dtime['mday'] -= 1;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]