Repository navigation
Add organization time zone foundation - #7448
Open
KoushikSagarr wants to merge 1 commit into
Open
KoushikSagarr wants to merge 1 commit into
KoushikSagarr wants to merge 1 commit into
Conversation
KoushikSagarr
requested review from
FireLemons,
compwron and
elasticspoon
as code owners
November 22, 2026 17:10
KoushikSagarr
force-pushed
the
7410-time-zone-management
branch
from
November 22, 2026 19:46
e61d033 to
e201491
Compare
FireLemons
requested changes
Nov 25, 2026
Comment on lines
+36
to
+39
| it "is valid with another valid IANA identifier like Asia/Kolkata" do | ||
| casa_org.time_zone = "Asia/Kolkata" | ||
| expect(casa_org).to be_valid | ||
| end |
Collaborator
There was a problem hiding this comment.
this is redundant with the test above. It's also hard coded. Maybe you can modify the one above to set the time zone with random IANA format time zones generated by faker. I'm not sure faker supports random IANA time zones.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What github issue is this PR for, if any?
Resolves #7410
What changed, and why?
Adds a
time_zoneattribute toCasaOrgas the foundation for organization-level time-zone management.time_zonecolumn tocasa_orgs, defaulting toAmerica/New_York.CasaOrgfactory with the default time zone.This is the first step toward supporting organization-specific time zones for business logic, deadlines, scheduling, and notifications. Settings UI, address-based resolution, and volunteer time-zone preferences will be handled in follow-up PRs.
How is this tested? (please write rspec and jest tests!) 💖💪
spec/models/casa_org_spec.rb— 33 examples, 0 failures.git diff --check— passed.Screenshots please :)
Not applicable — this PR contains database and model changes only, with no UI changes.