Skip to content

Commit e8f0106

Browse files
committed
minor
1 parent c58e103 commit e8f0106

File tree

1 file changed

+1
-1
lines changed
  • app/code/core/Mage/Reports/Model/Resource/Report

1 file changed

+1
-1
lines changed

app/code/core/Mage/Reports/Model/Resource/Report/Abstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,9 +420,9 @@ protected function _getTZOffsetTransitions($timezone, $from = null, $to = null)
420420
$nextPeriod = $this->_getWriteAdapter()->formatDate($to->toString(Varien_Date::DATETIME_INTERNAL_FORMAT));
421421
$to = $to->getTimestamp();
422422

423+
$dateTimeObject = new Zend_Date('c');
423424
$dtz = new DateTimeZone($timezone);
424425
$transitions = array_reverse($dtz->getTransitions());
425-
$dateTimeObject = new Zend_Date('c');
426426
foreach ($transitions as $transition) {
427427
if (!$this->_isValidTransition($transition, $to)) {
428428
continue;

0 commit comments

Comments
 (0)