From 4a800502fa454ec3082ddee60259926977527c52 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 19 Jan 2008 05:29:50 +0000 Subject: [PATCH] was not fully working with half-hour timezone, like eg. used in australia --- phpgwapi/inc/class.egw_datetime.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_datetime.inc.php b/phpgwapi/inc/class.egw_datetime.inc.php index ef27c8a659..4081c8862f 100755 --- a/phpgwapi/inc/class.egw_datetime.inc.php +++ b/phpgwapi/inc/class.egw_datetime.inc.php @@ -583,7 +583,7 @@ */ function egw_datetime() { - $this->tz_offset = 3600 * (int)@$GLOBALS['egw_info']['user']['preferences']['common']['tz_offset']; + $this->tz_offset = 3600 * @$GLOBALS['egw_info']['user']['preferences']['common']['tz_offset']; print_debug('datetime::datetime::gmtnow',$this->gmtnow,'api'); $error_occured = True;