summaryrefslogtreecommitdiff
path: root/tests/units/Core/DateParserTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/Core/DateParserTest.php')
-rw-r--r--tests/units/Core/DateParserTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/units/Core/DateParserTest.php b/tests/units/Core/DateParserTest.php
index fbde8bd5..ee4e2d54 100644
--- a/tests/units/Core/DateParserTest.php
+++ b/tests/units/Core/DateParserTest.php
@@ -212,6 +212,9 @@ class DateParserTest extends Base
$this->assertEquals(array('date' => '06/02/2016'), $dateParser->format($values, array('date'), 'd/m/Y'));
$this->assertEquals(array('date' => '02/06/2016 7:30 pm'), $dateParser->format($values, array('date'), 'm/d/Y g:i a'));
+
+ $values['date'] = '2016-02-06';
+ $this->assertEquals(array('date' => '06/02/2016'), $dateParser->format($values, array('date'), 'd/m/Y'));
}
public function testConvert()