From 0355a2dea7828cfc445c08d4c4f5d9299fb98d42 Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 2 Sep 2019 21:58:32 +0300 Subject: [PATCH] feat(admin-panel): Add date setup on user installation #186 --- site/plugins/admin/app/Controllers/UsersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/plugins/admin/app/Controllers/UsersController.php b/site/plugins/admin/app/Controllers/UsersController.php index a7ffee34..4fd2f349 100644 --- a/site/plugins/admin/app/Controllers/UsersController.php +++ b/site/plugins/admin/app/Controllers/UsersController.php @@ -127,7 +127,7 @@ class UsersController extends Controller $uuid = Uuid::uuid4()->toString(); // Get time - $time = time(); + $time = date($this->registry->get('settings.date_format'), time()); // Create accounts directory and account Filesystem::createDir(PATH['site'] . '/accounts/');