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

Use Luxon time library #19

Merged
merged 4 commits into from
Jan 31, 2023
Merged

Use Luxon time library #19

merged 4 commits into from
Jan 31, 2023

Conversation

slominskir
Copy link
Member

@slominskir slominskir commented Jan 30, 2023

Fixes #11
Fixes #18

These changes allow users in different timezones to use WAVE without local timezone assumptions causing shifted data. The Luxon time library appears to be the easiest way to do this. It adds about 70KB to page load size. It avoids downloading a massive database by abusing the new Intl API (not exactly sure how, but at this point, whatever).

https://github.com/JeffersonLab/wave/wiki/Timezone-Notes

@slominskir slominskir merged commit 9256442 into main Jan 31, 2023
@slominskir slominskir deleted the timezone branch January 31, 2023 16:12
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.

Data change when the start of the window changes Timezone Tune-Up
1 participant