summaryrefslogtreecommitdiff
path: root/app/Model/TaskValidator.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-07 19:15:53 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-07 19:15:53 -0400
commit58297ca3b11b9ad526a8ac344e5ac56d9e1b5a13 (patch)
treec20ff7b7463e0fa97667a2f17c482c85e015f7e3 /app/Model/TaskValidator.php
parent5e7e03a866459047b677e57be33eee991aa57214 (diff)
Add datetime picker for start date
Diffstat (limited to 'app/Model/TaskValidator.php')
-rw-r--r--app/Model/TaskValidator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/TaskValidator.php b/app/Model/TaskValidator.php
index ec1383ad..95b8a26c 100644
--- a/app/Model/TaskValidator.php
+++ b/app/Model/TaskValidator.php
@@ -39,7 +39,7 @@ class TaskValidator extends Base
new Validators\Integer('recurrence_status', t('This value must be an integer')),
new Validators\MaxLength('title', t('The maximum length is %d characters', 200), 200),
new Validators\Date('date_due', t('Invalid date'), $this->dateParser->getDateFormats()),
- new Validators\Date('date_started', t('Invalid date'), $this->dateParser->getDateFormats()),
+ new Validators\Date('date_started', t('Invalid date'), $this->dateParser->getAllFormats()),
new Validators\Numeric('time_spent', t('This value must be numeric')),
new Validators\Numeric('time_estimated', t('This value must be numeric')),
);