diff --git a/classes/Format.class.php b/classes/Format.class.php index 54b8ec4..aa3f12a 100644 --- a/classes/Format.class.php +++ b/classes/Format.class.php @@ -176,5 +176,8 @@ class Format } } -Format::setTimezoneOffset(date('Z')); +/** + * Оффсет с учетом летнего/зимнего времени + */ +Format::setTimezoneOffset(date('Z') - ((date('I') ? 60*60 : 0 ))); ?> \ No newline at end of file