Skip to content

Commit

Permalink
Merge pull request #261 from xibosignage/develop
Browse files Browse the repository at this point in the history
Display Edit Fix
  • Loading branch information
dasgarner authored Apr 10, 2017
2 parents b0d1bb0 + 1e0d488 commit 05a3468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/Display.php
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ function editForm($displayId)
$profile[$i]['valueString'] = $this->getDate()->parse('00:00', 'H:i')->format($timeFormat);
} else {
// A format has been set
$format = strlen($profile[$i]['value'] == 5) ? 'H:i' : 'H:i:s';
$format = (strlen($profile[$i]['value']) == 5) ? 'H:i' : 'H:i:s';
$profile[$i]['valueString'] = $this->getDate()->parse($profile[$i]['value'], $format)->format($timeFormat);
}
}
Expand Down

0 comments on commit 05a3468

Please sign in to comment.