Show default time zone (#31803)

This commit is contained in:
Christian Schmidt authored and GitHub committed 2024-11-22 14:48:41 +00:00
1 parent 99f36f1b7b
commit 2e66dd09e2
1 file changed
+1
@@ -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