Skip to content

Conversation

@JPrevost
Copy link
Member

Why are these changes being introduced:

  • Some date ranges ended up looking like 1999-01-01-1999-01-02 with the current previous logic which is confusing.

Relevant ticket(s):

How does this address that need:

  • Changes our joiner from - to to for date ranges.

Developer

Accessibility
  • ANDI or WAVE has been run in accordance to our guide.
  • This PR contains no changes to the view layer.
  • New issues flagged by ANDI or WAVE have been resolved.
  • New issues flagged by ANDI or WAVE have been ticketed (link in the Pull Request details above).
  • No new accessibility issues have been flagged.
New ENV
  • All new ENV is documented in README.
  • All new ENV has been added to Heroku Pipeline, Staging and Prod.
  • ENV has not changed.
Approval beyond code review
  • UXWS/stakeholder approval has been confirmed.
  • UXWS/stakeholder review will be completed retroactively.
  • UXWS/stakeholder review is not needed.
Additional context needed to review

E.g., if the PR includes updated dependencies and/or data
migration, or how to confirm the feature is working.

Code Reviewer

Code
  • I have confirmed that the code works as intended.
  • Any CodeClimate issues have been fixed or confirmed as
    added technical debt.
Documentation
  • The commit message is clear and follows our guidelines
    (not just this pull request message).
  • The documentation has been updated or is unnecessary.
  • New dependencies are appropriate or there were no changes.
Testing
  • There are appropriate tests covering any new functionality.
  • No additional test coverage is required.

Why are these changes being introduced:

* Some date ranges ended up looking like `1999-01-01-1999-01-02` with
  the current previous logic which is confusing.

Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/USE-296

How does this address that need:

* Changes our joiner from `-` to ` to ` for date ranges.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 20350951217

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 97.906%

Totals Coverage Status
Change from base Build 20348063171: 0.0%
Covered Lines: 1169
Relevant Lines: 1194

💛 - Coveralls

@mitlib mitlib temporarily deployed to timdex-ui-pi-use-296-da-utq1cc December 18, 2025 20:56 Inactive
Copy link
Member

@matt-bernhardt matt-bernhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@JPrevost JPrevost merged commit 074fd42 into main Dec 18, 2025
5 checks passed
@JPrevost JPrevost deleted the use-296-date-joiner branch December 18, 2025 21:27
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.

5 participants