Skip to content

Change time zones sorting - #3172

Open
biow0lf wants to merge 1 commit into
mainfrom
change-timezone-sorting
Open

biow0lf wants to merge 1 commit into
mainfrom
change-timezone-sorting

Conversation

@biow0lf

@biow0lf biow0lf commented Sep 14, 2026

Copy link
Copy Markdown
Member

No description provided.

@biow0lf biow0lf self-assigned this Sep 14, 2026
@biow0lf
biow0lf marked this pull request as ready for review September 14, 2026 18:27
Copilot AI lite review requested due to automatic review settings September 14, 2026 18:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Correct the selector arguments to avoid the unintended trailing separator.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Updates the user time-zone selector to use all ActiveSupport time zones instead of US-only zones.

Changes:

  • Replaces us_zones with ActiveSupport::TimeZone.all.
  • Expands the available time-zone options.
File summaries
File Review
app/views/users/_fields.html.erb Passing all zones as priority_zones creates an unintended trailing separator. Omit the argument or provide a sorted priority subset.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

<div class="required">
<%= f.label :time_zone, t(".time_zone") %>
<%= f.time_zone_select :time_zone, ActiveSupport::TimeZone.us_zones %>
<%= f.time_zone_select :time_zone, ActiveSupport::TimeZone.all %>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants