aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/userController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-11-29 15:27:32 +0100
committerGravatar GitHub <noreply@github.com> 2022-11-29 15:27:32 +0100
commit6261dc9cf41aaaa0eb2a05fbe81bc107ab91bbdd (patch)
treec578b84508173d4750c226fecca91082448fca31 /app/Controllers/userController.php
parent60d626030d1c3fc5ee42ddabd379318509ccc154 (diff)
User-defined time zone (#4906)
* User-defined time zone #fix https://github.com/FreshRSS/FreshRSS/issues/2754 * Update app/i18n/nl/conf.php Co-authored-by: Frans de Jonge <fransdejonge@gmail.com> * Timezone when creating a new user Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Diffstat (limited to 'app/Controllers/userController.php')
-rw-r--r--app/Controllers/userController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php
index 06dbab9fa..55b4ca7cb 100644
--- a/app/Controllers/userController.php
+++ b/app/Controllers/userController.php
@@ -344,6 +344,7 @@ class FreshRSS_user_Controller extends FreshRSS_ActionController {
$ok = self::createUser($new_user_name, $email, $passwordPlain, array(
'language' => Minz_Request::param('new_user_language', FreshRSS_Context::$user_conf->language),
+ 'timezone' => Minz_Request::param('new_user_timezone', ''),
'is_admin' => Minz_Request::paramBoolean('new_user_is_admin'),
'enabled' => true,
));