aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-11-15 21:14:14 -0800
committerzotlabs <mike@macgirvin.com>2018-11-15 21:14:14 -0800
commitb0689614bff4272f90b0c3f064ca91b16cb392e0 (patch)
treed334ec42cd33f980958e04065f61bffe584ac08f
parente42a401987bb34eed4d90bf22e36652fc907b063 (diff)
downloadvolse-hubzilla-b0689614bff4272f90b0c3f064ca91b16cb392e0.tar.gz
volse-hubzilla-b0689614bff4272f90b0c3f064ca91b16cb392e0.tar.bz2
volse-hubzilla-b0689614bff4272f90b0c3f064ca91b16cb392e0.zip
datetime_convert wrong args
-rw-r--r--Zotlabs/Lib/Libzot.php2
-rw-r--r--include/zot.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 010735487..70f013eb7 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -1006,7 +1006,7 @@ logger('4');
dbesc($xx['recipient']),
dbesc($xx['name']),
dbesc($xx['status']),
- dbesc(datetime_convert($xx['date'])),
+ dbesc(datetime_convert('UTC','UTC',$xx['date'])),
dbesc($xx['sender'])
);
}
diff --git a/include/zot.php b/include/zot.php
index 9208a6a99..d031b4a96 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1129,7 +1129,7 @@ function zot_process_response($hub, $arr, $outq) {
dbesc($xx['recipient']),
dbesc($xx['name']),
dbesc($xx['status']),
- dbesc(datetime_convert($xx['date'])),
+ dbesc(datetime_convert('UTC','UTC',$xx['date'])),
dbesc($xx['sender'])
);
}