Skip to content

fix: pass unit timezone to all Envelope instances#3

Merged
rogeriolino merged 1 commit into
v2.3from
feat/unidade-timezone
Mar 19, 2026
Merged

fix: pass unit timezone to all Envelope instances#3
rogeriolino merged 1 commit into
v2.3from
feat/unidade-timezone

Conversation

@rogeriolino
Copy link
Copy Markdown
Member

@rogeriolino rogeriolino commented Mar 19, 2026

Summary

  • Pass $unidade->getDateTimeZone() to all Envelope constructors so the frontend receives the correct local timestamp and timezone name (tz) in every JSON response

Test plan

  • Verify all monitor endpoints return the correct tz and time fields in the unit's configured timezone

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@rogeriolino rogeriolino merged commit c5c10df into v2.3 Mar 19, 2026
1 of 2 checks passed
@rogeriolino rogeriolino deleted the feat/unidade-timezone branch March 19, 2026 14:03
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