was not fully working with half-hour timezone, like eg. used in australia

This commit is contained in:
Ralf Becker 2008-01-19 05:29:50 +00:00
parent c25ba82735
commit 4a800502fa

View File

@ -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;