Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added support for datetime

  • Loading branch information...
commit 868fbb44ceac4c99656b08db3fa5bcf9ed9bed0e 1 parent 4011a9c
@fabian fabian authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  web/api.php
View
3  web/api.php
@@ -195,6 +195,9 @@
}
$date = $request->get('date');
+ if (!$date) {
+ $date = $request->get('datetime');
+ }
if ($date) {
$date = new DateTime($date, new DateTimeZone('Europe/Zurich'));
}
Please sign in to comment.
Something went wrong with that request. Please try again.