mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01: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 New Issue
Block a user