We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ef74b7 commit 67da6ecCopy full SHA for 67da6ec
app/code/Magento/Reports/Test/Unit/Model/ResourceModel/Report/CollectionTest.php
@@ -181,6 +181,11 @@ public function intervalsDataProvider()
181
}
182
183
/**
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
189
* @return string
190
*/
191
public function formatDateTime()
@@ -196,6 +201,6 @@ public function formatDateTime()
196
201
new \DateTimeZone('America/Los_Angeles')
197
202
);
198
203
199
- return $formatter->format($dateStart);
204
+ return $formatter->format($dateStart) . ' ST';
200
205
206
0 commit comments