Skip to content

Commit

Permalink
Merge branch 'master' into STRIPES-868
Browse files Browse the repository at this point in the history
  • Loading branch information
zburke authored Sep 22, 2023
2 parents 95a3ada + 8b38be8 commit 174d15c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
PUBLISH_MOD_DESCRIPTOR: 'true'
FOLIO_NPM_REGISTRY: 'https://repository.folio.org/repository/npm-folio/'
FOLIO_MD_REGISTRY: 'https://folio-registry.dev.folio.org'
NODEJS_VERSION: '16'
NODEJS_VERSION: '18'
JEST_JUNIT_OUTPUT_DIR: 'artifacts/jest-junit'
JEST_COVERAGE_REPORT_DIR: 'artifacts/coverage-jest/lcov-report/'
BIGTEST_JUNIT_OUTPUT_DIR: 'artifacts/runTest'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
PUBLISH_MOD_DESCRIPTOR: 'true'
FOLIO_NPM_REGISTRY: 'https://repository.folio.org/repository/npm-folioci/'
FOLIO_MD_REGISTRY: 'https://folio-registry.dev.folio.org'
NODEJS_VERSION: '16'
NODEJS_VERSION: '18'
JEST_JUNIT_OUTPUT_DIR: 'artifacts/jest-junit'
JEST_COVERAGE_REPORT_DIR: 'artifacts/coverage-jest/lcov-report/'
SQ_LCOV_REPORT: 'artifacts/coverage-jest/lcov.info'
Expand Down
4 changes: 2 additions & 2 deletions src/forms/CalendarForm/validation/validateExceptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ export function validateExceptionInterOverlaps(
i: row.i,
startDate: dayjs
.min(row.rows.map(({ startDate }) => dayjs(startDate)))
.startOf('day'),
?.startOf('day') ?? dayjs(0),
endDate: dayjs
.max(row.rows.map(({ endDate }) => dayjs(endDate)))
.endOf('day')
?.endOf('day') ?? dayjs(0)
}));

for (let i = 0; i < rowMinMaxes.length - 1; i++) {
Expand Down

0 comments on commit 174d15c

Please sign in to comment.