Skip to content

Commit

Permalink
Syncing date format with production.
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlakis committed Jan 4, 2016
1 parent c3b5ebc commit 042c26b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/Action/CreateEventAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function dispatch(Request $request, Response $response, $args)
$supporter = $this->eventManager->getSupporterByID($request->getParam('supporter'));

$date = \DateTime::createFromFormat(
"Y-m-d H:i",
"d/m/Y H:i",
$request->getParam('start_date') . ' '
. ($request->getParam('start_time') < 10 ? '0' . $request->getParam('start_time') : $request->getParam('start_time'))

Expand Down

0 comments on commit 042c26b

Please sign in to comment.