diff --git a/administrator/components/com_content/models/forms/article.xml b/administrator/components/com_content/models/forms/article.xml index 921580f590968..e2bd5ee3b4df6 100644 --- a/administrator/components/com_content/models/forms/article.xml +++ b/administrator/components/com_content/models/forms/article.xml @@ -68,7 +68,6 @@ diff --git a/libraries/cms/html/html.php b/libraries/cms/html/html.php index b578e57ed420c..41a475eba0d96 100644 --- a/libraries/cms/html/html.php +++ b/libraries/cms/html/html.php @@ -1019,7 +1019,7 @@ public static function calendar($value, $name, $id, $format = '%Y-%m-%d', $attri $required = isset($attribs['required']) && $attribs['required'] == ''; $filter = isset($attribs['filter']) && $attribs['filter'] == ''; $todayBtn = isset($attribs['todayBtn']) ? $attribs['todayBtn'] : true; - $weekNumbers = isset($attribs['weekNumbers']) ? $attribs['weekNumbers'] : false; + $weekNumbers = isset($attribs['weekNumbers']) ? $attribs['weekNumbers'] : true; $showTime = isset($attribs['showTime']) ? $attribs['showTime'] : false; $fillTable = isset($attribs['fillTable']) ? $attribs['fillTable'] : true; $timeFormat = isset($attribs['timeFormat']) ? $attribs['timeFormat'] : 24; diff --git a/libraries/joomla/form/fields/calendar.php b/libraries/joomla/form/fields/calendar.php index 341d2fc0a3a1a..d41d03731a9cd 100644 --- a/libraries/joomla/form/fields/calendar.php +++ b/libraries/joomla/form/fields/calendar.php @@ -164,7 +164,7 @@ public function setup(SimpleXMLElement $element, $value, $group = null) $this->format = (string) $this->element['format'] ? (string) $this->element['format'] : '%Y-%m-%d'; $this->filter = (string) $this->element['filter'] ? (string) $this->element['filter'] : 'USER_UTC'; $this->todaybutton = (string) $this->element['todaybutton'] ? (string) $this->element['todaybutton'] : 'true'; - $this->weeknumbers = (string) $this->element['weeknumbers'] ? (string) $this->element['weeknumbers'] : 'false'; + $this->weeknumbers = (string) $this->element['weeknumbers'] ? (string) $this->element['weeknumbers'] : 'true'; $this->showtime = (string) $this->element['showtime'] ? (string) $this->element['showtime'] : 'false'; $this->filltable = (string) $this->element['filltable'] ? (string) $this->element['filltable'] : 'true'; $this->timeformat = (int) $this->element['timeformat'] ? (int) $this->element['timeformat'] : 24;