Skip to content

fix: use unit timezone when parsing scheduled appointment datetime#6

Merged
rogeriolino merged 3 commits into
v2.3from
feat/unidade-timezone
Mar 18, 2026
Merged

fix: use unit timezone when parsing scheduled appointment datetime#6
rogeriolino merged 3 commits into
v2.3from
feat/unidade-timezone

Conversation

@rogeriolino
Copy link
Copy Markdown
Member

@rogeriolino rogeriolino commented Mar 17, 2026

Issue: novosga/novosga#454

Related to novosga/novosga#492

Summary

  • Fix DateTime::createFromFormat call that ignored the unit's configured timezone when building a DateTime from a scheduled appointment's date+time strings
  • Without this fix, appointments in units with a non-default timezone could be incorrectly flagged as expired at triage

Test plan

  • Confirm a scheduled appointment in a unit with a non-UTC timezone
  • Verify the appointment is not incorrectly rejected as expired at triage

🤖 Generated with Claude Code

rogeriolino and others added 3 commits March 17, 2026 12:06
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@rogeriolino rogeriolino merged commit 4a12620 into v2.3 Mar 18, 2026
1 check passed
@rogeriolino rogeriolino deleted the feat/unidade-timezone branch March 19, 2026 13:07
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.

1 participant