aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-18 14:42:30 +0000
committerMario <mario@mariovavti.com>2021-03-18 14:42:30 +0000
commit7c620cbe244aac5cce5d86bd3776ca85353e7f74 (patch)
tree1c6be9e5c221b41900ddd7da29ea397c7b6fecdf
parent7472b96c95d81bbe2a6032b7dcfef5c45fbb1f6d (diff)
downloadvolse-hubzilla-7c620cbe244aac5cce5d86bd3776ca85353e7f74.tar.gz
volse-hubzilla-7c620cbe244aac5cce5d86bd3776ca85353e7f74.tar.bz2
volse-hubzilla-7c620cbe244aac5cce5d86bd3776ca85353e7f74.zip
air: make sure to display the timezone corrected times in the admin ui
-rw-r--r--Zotlabs/Module/Admin/Accounts.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Module/Admin/Accounts.php b/Zotlabs/Module/Admin/Accounts.php
index 3accefd66..22c2e5b10 100644
--- a/Zotlabs/Module/Admin/Accounts.php
+++ b/Zotlabs/Module/Admin/Accounts.php
@@ -196,6 +196,10 @@ class Accounts {
$pending[$n]['reg_atip'] = $v['reg_atip'] . ' ◄' . $atipn[ $v['reg_atip'] ] . '×';
}
+ $pending[$n]['reg_created'] = datetime_convert('UTC', date_default_timezone_get(), $pending[$n]['reg_created']);
+ $pending[$n]['reg_startup'] = datetime_convert('UTC', date_default_timezone_get(), $pending[$n]['reg_startup']);
+ $pending[$n]['reg_expires'] = datetime_convert('UTC', date_default_timezone_get(), $pending[$n]['reg_expires']);
+
$pending[$n]['status'] = t('Not yet verified');
if($pending[$n]['reg_vfd'])
$pending[$n]['status'] = t('Verified');