Open
Description
Steps to reproduce
Create the following form
<%= form_with scope: :company, url: companies_path, local: true do |form| %>
<p>
<%= form.time_zone_select :timezone, nil %>
</p>
<% end %>
Click on a timezone, I'll choose (GMT+01:00) Amsterdam
as an example.
Expected behavior
The timezone
attribute on company
gets set as Europe/Amsterdam
.
Actual behavior
The timezone
attribute on company
gets set as Amsterdam
.
System configuration
Rails version: 7.2.2.1
Ruby version: 3.4.1
Metadata
Metadata
Assignees
Labels
No labels