mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-25 15:09:29 +00:00
Show default time zone
This commit is contained in:
parent
559958f8c5
commit
9b952369dd
|
@ -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 a new issue