Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Timezone Mismatch – 8 Hours Ahead of Actual Emporia Records #9

Open
RekhaSharma931 opened this issue Mar 7, 2025 · 0 comments

Comments

@RekhaSharma931
Copy link

Hello Sir,

I noticed a timezone issue in the API data. The timestamps appear 8 hours ahead of the actual Emporia records.

API Endpoint:
https://emporia-connect.xyt.co.za/api/devices/20361/channels/1/usage?scale=hour&unit=KilowattHours

Image
Image
Image
Image

API Timestamp: 2025-03-06T13:00:00Z
Actual Emporia Record: 2025-03-06T05:00:00Z
My timezone is Pacific Time (Los Angeles, UTC-8). It looks like the API is using UTC instead of Pacific Time.

Please check and let me know if this can be fixed.

Thanks!

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

No branches or pull requests

1 participant