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

fix: Partial holidays range breaks (#2297) #2334

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

mofojed
Copy link
Member

@mofojed mofojed commented Jan 7, 2025

  • Partial holidays were not generating valid range breaks, as they did not account for business periods specified on the calendar
  • Essentially we were adding another "closed" period that overlapped with time that was already outside of regular business hours
  • Added a ticket to plotly.js to take into account range breaks which may overlap: Plot does not appear in some cases if rangebreaks overlap plotly/plotly.js#7270, as that would be nice to handle on their end, but this should be sufficient to resolve from our end
  • Needed for DH-16016
  • Added a bunch of test cases

- Partial holidays were not generating valid range breaks, as they did
not account for business periods specified on the calendar
- Essentially we were adding another "closed" period that overlapped
with time that was already outside of regular business hours
- Added a ticket to plotly.js to take into account range breaks which
may overlap: plotly/plotly.js#7270, as that
would be nice to handle on their end, but this should be sufficient to
resolve from our end
- Needed for DH-16016
- Added a bunch of test cases

---------

Co-authored-by: Vlad Babich <[email protected]>
@mofojed mofojed requested a review from dgodinez-dh January 7, 2025 15:06
@mofojed mofojed self-assigned this Jan 7, 2025
@mofojed mofojed requested review from mattrunyon and removed request for dgodinez-dh January 7, 2025 19:44
@mofojed mofojed merged commit 6480e1a into deephaven:release/v0.85 Jan 7, 2025
10 checks passed
@mofojed mofojed deleted the v0.85-holiday-rangebreaks branch January 7, 2025 19:45
@github-actions github-actions bot locked and limited conversation to collaborators Jan 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants