time offset bugfix for daylight saving time
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/trunk@68 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
@ -176,5 +176,8 @@ class Format
|
||||
}
|
||||
}
|
||||
|
||||
Format::setTimezoneOffset(date('Z'));
|
||||
/**
|
||||
* Оффсет с учетом летнего/зимнего времени
|
||||
*/
|
||||
Format::setTimezoneOffset(date('Z') - ((date('I') ? 60*60 : 0 )));
|
||||
?>
|
Reference in New Issue
Block a user