Skip to content

fix: pass unit timezone to Envelope instance - #9

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

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

Conversation

@rogeriolino

@rogeriolino rogeriolino commented Mar 19, 2026

Copy link
Copy Markdown
Member

Summary

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

Test plan

  • Verify the chart endpoint returns the correct tz and time fields in the unit's configured timezone

🤖 Generated with Claude Code

@rogeriolino
rogeriolino force-pushed the feat/unidade-timezone branch from 48ec63e to dd9d31c Compare March 19, 2026 13:10
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@rogeriolino
rogeriolino force-pushed the feat/unidade-timezone branch from dd9d31c to b6422ac Compare March 19, 2026 13:11
@rogeriolino
rogeriolino merged commit 10702e6 into v2.3 Mar 19, 2026
1 check passed
@rogeriolino
rogeriolino deleted the feat/unidade-timezone branch March 19, 2026 14:04
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