diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-01-24 20:04:58 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-01-24 20:04:58 -0500 |
commit | d81fb20df66fd77e41f0f7d573e60b856b1e9f8a (patch) | |
tree | ea65bb3339714e5cfac6e5d781901375d1c1851a /tests/units | |
parent | b23613bbe369011256de8a558707ab9096074e9e (diff) |
Fix wrong datetime formatting when task form shows validation errors
Diffstat (limited to 'tests/units')
-rw-r--r-- | tests/units/Core/DateParserTest.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/units/Core/DateParserTest.php b/tests/units/Core/DateParserTest.php index 1cf98bd3..43ba4bcd 100644 --- a/tests/units/Core/DateParserTest.php +++ b/tests/units/Core/DateParserTest.php @@ -204,9 +204,6 @@ 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() |