Skip to content

Commit

Permalink
Time picker in display profiles writes 0 instead of 00:00 to the hidd…
Browse files Browse the repository at this point in the history
…en field which breaks Display edit form xibosignage/xibo#994
  • Loading branch information
maurofmferrao committed Jan 6, 2017
1 parent b0c33dd commit 93da6ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Entity/DisplayProfile.php
Expand Up @@ -758,7 +758,7 @@ private function loadFromFile()
'title' => __('Download Window Start Time'),
'type' => 'string',
'fieldType' => 'timePicker',
'default' => 0,
'default' => '00:00',
'helpText' => __('The start of the time window to connect to the CMS and download updates.'),
'enabled' => true,
'groupClass' => NULL
Expand All @@ -769,7 +769,7 @@ private function loadFromFile()
'title' => __('Download Window End Time'),
'type' => 'string',
'fieldType' => 'timePicker',
'default' => 0,
'default' => '00:00',
'helpText' => __('The end of the time window to connect to the CMS and download updates.'),
'enabled' => true,
'groupClass' => NULL
Expand Down Expand Up @@ -995,7 +995,7 @@ private function loadFromFile()
'title' => __('Update Window Start Time'),
'type' => 'string',
'fieldType' => 'timePicker',
'default' => 0,
'default' => '00:00',
'helpText' => __('The start of the time window to install application updates.'),
'enabled' => true,
'groupClass' => NULL
Expand All @@ -1006,7 +1006,7 @@ private function loadFromFile()
'title' => __('Update Window End Time'),
'type' => 'string',
'fieldType' => 'timePicker',
'default' => 0,
'default' => '00:00',
'helpText' => __('The end of the time window to install application updates.'),
'enabled' => true,
'groupClass' => NULL
Expand Down

0 comments on commit 93da6ed

Please sign in to comment.