aboutsummaryrefslogtreecommitdiffstats
path: root/include/api_zot.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/api_zot.php')
-rw-r--r--include/api_zot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/api_zot.php b/include/api_zot.php
index d2cadc9a4..b332aea71 100644
--- a/include/api_zot.php
+++ b/include/api_zot.php
@@ -95,9 +95,9 @@
if(! $_REQUEST['since'])
$start = NULL_DATE;
else {
- $start = datetime_convert('UTC','UTC', $_REQUEST['since']);
+ $start = datetime_convert(date_default_timezone_get(),'UTC', $_REQUEST['since']);
}
- $finish = datetime_convert('UTC','UTC', (($_REQUEST['until']) ? $_REQUEST['until'] : 'now'));
+ $finish = datetime_convert(date_default_timezone_get(),'UTC', (($_REQUEST['until']) ? $_REQUEST['until'] : 'now'));
json_return_and_die(channel_export_items_page(api_user(),$start,$finish,$page,$records));
}