Skip to content

Commit ee894bc

Browse files
author
Joan He
committed
MAGETWO-32328: fixed DateTest
1 parent a437b12 commit ee894bc

File tree

1 file changed

+2
-2
lines changed
  • dev/tests/integration/testsuite/Magento/Framework/Data/Form/Element

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Framework/Data/Form/Element/DateTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function getValueDataProvider()
5656
'time_format' => \Magento\Framework\Stdlib\DateTime\TimezoneInterface::FORMAT_TYPE_SHORT,
5757
'value' => $currentTime,
5858
],
59-
date('m/j/y g:i A', $currentTime),
59+
date('n/j/y g:i A', $currentTime),
6060
],
6161
[
6262
[
@@ -70,7 +70,7 @@ public function getValueDataProvider()
7070
'date_format' => \Magento\Framework\Stdlib\DateTime\TimezoneInterface::FORMAT_TYPE_SHORT,
7171
'value' => $currentTime,
7272
],
73-
date('m/j/y', $currentTime)
73+
date('n/j/y', $currentTime)
7474
]
7575
];
7676
}

0 commit comments

Comments
 (0)