aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Regate.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-17 14:37:16 +0100
committerMario <mario@mariovavti.com>2021-03-17 14:37:16 +0100
commitfebf766be0ecd2a50aa8842a90a23dc23763e373 (patch)
tree71c190cf28b8ea616be865003c937df6f7a7f160 /Zotlabs/Module/Regate.php
parent35d9fd4860f1f60150dc9f3ee91d7485c8325d77 (diff)
downloadvolse-hubzilla-febf766be0ecd2a50aa8842a90a23dc23763e373.tar.gz
volse-hubzilla-febf766be0ecd2a50aa8842a90a23dc23763e373.tar.bz2
volse-hubzilla-febf766be0ecd2a50aa8842a90a23dc23763e373.zip
air: make sure we always save date_time in UTC - issue #1544
Diffstat (limited to 'Zotlabs/Module/Regate.php')
-rw-r--r--Zotlabs/Module/Regate.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Regate.php b/Zotlabs/Module/Regate.php
index b9b1c0d56..2b46d7452 100644
--- a/Zotlabs/Module/Regate.php
+++ b/Zotlabs/Module/Regate.php
@@ -46,7 +46,7 @@ class Regate extends \Zotlabs\Web\Controller {
$nowhhmm = date('Hi');
$day = date('N');
- $now = date('Y-m-d H:i:s');
+ $now = datetime_convert();
$ip = $_SERVER['REMOTE_ADDR'];
$isduty = zar_register_dutystate();
@@ -228,7 +228,7 @@ class Regate extends \Zotlabs\Web\Controller {
return $o;
}
- $now = date('Y-m-d H:i:s');
+ $now = datetime_convert();
$ip = $_SERVER['REMOTE_ADDR'];
$isduty = zar_register_dutystate();