Skip to content

fix: Partial holidays range breaks (#2297) - #2333

Merged
mofojed merged 1 commit into
deephaven:release/v0.78from
mofojed:v0.78-holiday-rangebreaks
Jan 7, 2025
Merged

mofojed merged 1 commit into
deephaven:release/v0.78from
mofojed:v0.78-holiday-rangebreaks

Conversation

@mofojed

@mofojed mofojed commented Jan 7, 2025

Copy link
Copy Markdown
Member
  • 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 a team January 7, 2025 15:04
@mofojed mofojed self-assigned this Jan 7, 2025
@mofojed
mofojed requested review from dgodinez-dh and mattrunyon and removed request for a team and dgodinez-dh January 7, 2025 15:04
@mofojed
mofojed merged commit 06a121c into deephaven:release/v0.78 Jan 7, 2025
@mofojed
mofojed deleted the v0.78-holiday-rangebreaks branch January 7, 2025 19:44
@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