diff --git a/src/IDF/Form/Field/Date.php b/src/IDF/Form/Field/Date.php deleted file mode 100644 index 9ddb6c2..0000000 --- a/src/IDF/Form/Field/Date.php +++ /dev/null @@ -1,36 +0,0 @@ -required and empty($value)) { - return null; - } - throw $e; - } - } -} diff --git a/src/IDF/Form/Field/Datetime.php b/src/IDF/Form/Field/Datetime.php deleted file mode 100644 index 04c4e29..0000000 --- a/src/IDF/Form/Field/Datetime.php +++ /dev/null @@ -1,36 +0,0 @@ -required and empty($value)) { - return null; - } - throw $e; - } - } -} diff --git a/src/IDF/Form/IssueCreate.php b/src/IDF/Form/IssueCreate.php index 8c2ab16..d8f3244 100644 --- a/src/IDF/Form/IssueCreate.php +++ b/src/IDF/Form/IssueCreate.php @@ -112,7 +112,7 @@ class IDF_Form_IssueCreate extends Pluf_Form 'size' => 15, ), )); - $this->fields['due_dtime'] = new IDF_Form_Field_Date( + $this->fields['due_dtime'] = new Pluf_Form_Field_Date( array('required' => false, 'label' => __('Due date'), 'initial' => '', diff --git a/src/IDF/Form/IssueUpdate.php b/src/IDF/Form/IssueUpdate.php index 160f306..9421e11 100644 --- a/src/IDF/Form/IssueUpdate.php +++ b/src/IDF/Form/IssueUpdate.php @@ -103,7 +103,7 @@ class IDF_Form_IssueUpdate extends IDF_Form_IssueCreate 'size' => 15, ), )); - $this->fields['due_dtime'] = new IDF_Form_Field_Date( + $this->fields['due_dtime'] = new Pluf_Form_Field_Date( array('required' => false, 'label' => __('Due date'), 'initial' => $this->issue->due_dtime,