Show default time zone (#31803)

pull/2910/head
Christian Schmidt 2024-11-22 15:48:41 +01:00 committed by GitHub
parent 99f36f1b7b
commit 2e66dd09e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@
= f.input :time_zone,
collection: ActiveSupport::TimeZone.all.map { |tz| ["(GMT#{tz.formatted_offset}) #{tz.name}", tz.tzinfo.name] },
hint: false,
selected: current_user.time_zone || Time.zone.tzinfo.name,
wrapper: :with_label
.fields-group