Skip to content

Commit 67da6ec

Browse files
committed
MAGETWO-65736: Swatch attributes are not shown on category page
1 parent 1ef74b7 commit 67da6ec

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/code/Magento/Reports/Test/Unit/Model/ResourceModel/Report/CollectionTest.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ public function intervalsDataProvider()
181181
}
182182

183183
/**
184+
* Format datetime.
185+
*
186+
* Force Standard Time to eliminate DateTime "Daylight Saving Time problem"
187+
* https://bugs.php.net/bug.php?id=71913&edit=1
188+
*
184189
* @return string
185190
*/
186191
public function formatDateTime()
@@ -196,6 +201,6 @@ public function formatDateTime()
196201
new \DateTimeZone('America/Los_Angeles')
197202
);
198203

199-
return $formatter->format($dateStart);
204+
return $formatter->format($dateStart) . ' ST';
200205
}
201206
}

0 commit comments

Comments
 (0)