Skip to content

feat: configurable display timezone#71

Merged
eclectic-coding merged 2 commits into
mainfrom
feat/configurable-timezone
May 27, 2026
Merged

feat: configurable display timezone#71
eclectic-coding merged 2 commits into
mainfrom
feat/configurable-timezone

Conversation

@eclectic-coding
Copy link
Copy Markdown
Owner

Summary

  • Adds SolidQueueWeb.time_zone config option (e.g. config.time_zone = "America/New_York")
  • Introduces a format_timestamp helper in ApplicationHelper that routes all timestamp rendering through in_time_zone when configured, falling back to UTC otherwise
  • Replaces all bare .strftime calls in views (jobs, failed jobs, history, search, queues, queues/jobs, recurring tasks, scheduled-job turbo stream update)

Test plan

  • bundle exec rspec spec/helpers/ — 4 new examples covering nil, UTC default, custom timezone, and custom format
  • bundle exec rake — 320 examples, 0 failures, 100% coverage, no RuboCop offenses

Closes #58

🤖 Generated with Claude Code

eclectic-coding and others added 2 commits May 27, 2026 17:35
Add `SolidQueueWeb.time_zone` config option. When set, all dashboard
timestamps are rendered via `in_time_zone` so operators in non-UTC
zones see local times without needing to mentally convert. Defaults
to nil (UTC). A centralised `format_timestamp` helper replaces all
bare `.strftime` calls across jobs, failed jobs, history, search,
queues, recurring tasks, and the scheduled-job turbo stream update.

Closes #58

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eclectic-coding eclectic-coding merged commit a8d6fba into main May 27, 2026
5 checks passed
@eclectic-coding eclectic-coding deleted the feat/configurable-timezone branch May 27, 2026 21:36
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.

feat: configurable display timezone

1 participant