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

Report calculation fails when report start/end have different offset #462

Open
lboeman opened this issue Dec 2, 2021 · 1 comment
Open

Comments

@lboeman
Copy link
Member

lboeman commented Dec 2, 2021

If a report's timezone observes DST and the report's start and end fall in standard and daylight time or vice versa, somehwhere along the line the start and end are converted to fixed offset times which raises an exception when slicing. e.g. slicing with start offset -06:00 and end -05:00.

https://sentry.io/organizations/solararbiter-rx/issues/2831552821

@lboeman lboeman transferred this issue from SolarArbiter/solarforecastarbiter-core Dec 2, 2021
@lboeman
Copy link
Member Author

lboeman commented Dec 2, 2021

Moved to dashboard as I discovered the issue occurs in the dashboard Javascript and should be converted to UTC before posting here:

.
This should be handled in the API, by storing the start/end in UTC, but I think it should be consistent.

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