Skip to content

Commit

Permalink
Ensure all properties are passed into the date/time component from th…
Browse files Browse the repository at this point in the history
…eir PHP equivalents (CFM-107)
  • Loading branch information
arlen committed Apr 2, 2022
1 parent 55d3029 commit a5cc73f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/View/Helper/FieldHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ public function control(string $fieldName,
target: "' . $pickerTarget . '",
date: "' . $pickerDate . '",
dateTime: "' . $pickerDateTime .'",
timed: true,
ampm: false,
timed: ' . ($pickerTimed ? 'true' : 'false') . ',
ampm: ' . ($pickerAmPm ? 'true' : 'false') . ',
txt: {
hour: "' . __d('field', 'hour') . '",
minute: "' . __d('field', 'minute') . '",
Expand Down

0 comments on commit a5cc73f

Please sign in to comment.