diff --git a/src/Forms/DatetimeField.php b/src/Forms/DatetimeField.php index e97679927..a5520bdc6 100644 --- a/src/Forms/DatetimeField.php +++ b/src/Forms/DatetimeField.php @@ -107,6 +107,9 @@ class DatetimeField extends TextField return $attributes; } + /** + * @inheritDoc + */ public function getSchemaDataDefaults() { $defaults = parent::getSchemaDataDefaults(); @@ -120,16 +123,26 @@ class DatetimeField extends TextField ]); } + /** + * @inheritDoc + */ public function Type() { return 'text datetime'; } + /** + * @return bool + */ public function getHTML5() { return $this->html5; } + /** + * @param $bool + * @return $this + */ public function setHTML5($bool) { $this->html5 = $bool;