Show default time zone (#31803)
parent
99f36f1b7b
commit
2e66dd09e2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue