mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-26 15:31:52 +00:00
Show default time zone (#31803)
This commit is contained in:
parent
99f36f1b7b
commit
2e66dd09e2
|
@ -18,6 +18,7 @@
|
||||||
= f.input :time_zone,
|
= f.input :time_zone,
|
||||||
collection: ActiveSupport::TimeZone.all.map { |tz| ["(GMT#{tz.formatted_offset}) #{tz.name}", tz.tzinfo.name] },
|
collection: ActiveSupport::TimeZone.all.map { |tz| ["(GMT#{tz.formatted_offset}) #{tz.name}", tz.tzinfo.name] },
|
||||||
hint: false,
|
hint: false,
|
||||||
|
selected: current_user.time_zone || Time.zone.tzinfo.name,
|
||||||
wrapper: :with_label
|
wrapper: :with_label
|
||||||
|
|
||||||
.fields-group
|
.fields-group
|
||||||
|
|
Loading…
Reference in New Issue
Block a user