Skip to content

Commit

Permalink
Misc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
rgies committed Jun 28, 2017
1 parent 6995cbf commit 7a955e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function collectDataAjaxAction(Request $request)

if ($widgetConfig->getEndDate()) {
try {
$endDate = new \DateTime($widgetConfig->getEndDate() . ' 23:59:59');
$endDate = new \DateTime($widgetConfig->getEndDate());
} catch (Exception $e)
{
$response['warning'] = wordwrap('Wrong end date format: ' . $e->getMessage(), 38, '<br/>');
Expand Down

0 comments on commit 7a955e8

Please sign in to comment.