From febf766be0ecd2a50aa8842a90a23dc23763e373 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 17 Mar 2021 14:37:16 +0100 Subject: air: make sure we always save date_time in UTC - issue #1544 --- include/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/account.php b/include/account.php index 1c66e1992..a6067a802 100644 --- a/include/account.php +++ b/include/account.php @@ -293,7 +293,7 @@ function create_account_IS_OBSOLETE($arr) { function create_account_from_register($arr) { $result = array('success' => false, 'message' => 'rid:' . $arr['reg_id']); - $now = date('Y-m-d H:i:s'); + $now = datetime_convert(); // reg_flags 0x0020 = REGISTER_AGREED = register request verified by user @ regate $register = q("SELECT * FROM register WHERE reg_id = %d AND (reg_flags & 31) = 0 " -- cgit v1.2.3