aboutsummaryrefslogtreecommitdiffstats
path: root/include/api_zot.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-02-24 21:43:15 -0800
committerzotlabs <mike@macgirvin.com>2019-02-24 21:43:15 -0800
commit1ff97754afee87f23b17a6b036ebe9e69d41a7c6 (patch)
treebe179ff0fbc801ee2f2ec733b72c39e2d42fb3cb /include/api_zot.php
parent20e43311db8f320ac6eeb094c27210885637240d (diff)
downloadvolse-hubzilla-1ff97754afee87f23b17a6b036ebe9e69d41a7c6.tar.gz
volse-hubzilla-1ff97754afee87f23b17a6b036ebe9e69d41a7c6.tar.bz2
volse-hubzilla-1ff97754afee87f23b17a6b036ebe9e69d41a7c6.zip
issues uncovered testing combined item/file import
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));
}