Skip to content
This repository has been archived by the owner on Aug 12, 2018. It is now read-only.

Commit

Permalink
fixed api reports datetime to be 24-h format
Browse files Browse the repository at this point in the history
  • Loading branch information
inoryy committed Aug 22, 2012
1 parent bc9d9a7 commit c01cb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Inori/MupoWatchBundle/Controller/ApiController.php
Expand Up @@ -36,7 +36,7 @@ public function getReportsAction(Request $request)
/* @var $result \Inori\MupoWatchBundle\Entity\Report */

$reports[] = array(
'datetime' => $result->getDatetime()->format('d-m-y h:i:s'),
'datetime' => $result->getDatetime()->format('d-m-y H:i:s'),
'rating' => $result->getRating(),
'destination' => $result->getDestination(),
'station_before' => $result->getStationBefore(),
Expand Down

0 comments on commit c01cb6e

Please sign in to comment.