Show default time zone (#31803)

This commit is contained in:
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

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