From 656f4306325d7944280ce111d95aeaeacab8d3cd Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 5 Jun 2016 21:28:56 -0400 Subject: Changed DateParser to use only user format and ISO-8601 --- tests/units/Model/TaskModificationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/units/Model/TaskModificationTest.php') diff --git a/tests/units/Model/TaskModificationTest.php b/tests/units/Model/TaskModificationTest.php index 022fb49b..a8ace25a 100644 --- a/tests/units/Model/TaskModificationTest.php +++ b/tests/units/Model/TaskModificationTest.php @@ -231,7 +231,7 @@ class TaskModificationTest extends Base $this->assertEquals('2014-11-24 16:25', date('Y-m-d H:i', $task['date_started'])); // Set a datetime - $this->assertTrue($tm->update(array('id' => 1, 'date_started' => '2014-11-24 6:25pm'))); + $this->assertTrue($tm->update(array('id' => 1, 'date_started' => '11/24/2014 18:25'))); $task = $tf->getById(1); $this->assertEquals('2014-11-24 18:25', date('Y-m-d H:i', $task['date_started'])); -- cgit v1.2.3