mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-14 20:35:08 +02:00
Use the users timezone for showing dates from the database.
In the database the values are now saved in UTC.
This commit is contained in:
parent
adf5db1a0a
commit
d2bae3a4f2
5 changed files with 191 additions and 0 deletions
|
@ -68,6 +68,7 @@ class UserSettingsType extends AbstractType
|
|||
'attr' => ['class' => 'selectpicker', 'data-live-search' => true],
|
||||
'placeholder' => $this->trans->trans('user_settings.timezone.placeholder'),
|
||||
'label' => $this->trans->trans('user.timezone.label'),
|
||||
'preferred_choices' => ['Europe/Berlin']
|
||||
])
|
||||
->add('theme', ChoiceType::class, [
|
||||
'required' => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue