Skip to content

Commit

Permalink
test: Update isDateBetween test to not use UTC datetime
Browse files Browse the repository at this point in the history
  • Loading branch information
scottlovegrove committed Jul 22, 2023
1 parent 7e63991 commit 423ea07
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ describe('Date Adapter', () => {
expected: true,
},
{
targetDate: new Date('2023-07-26T23:00:00.000Z'),
dateOne: new Date('2023-07-27T06:00:00.000Z'),
dateTwo: new Date('2023-07-27T12:00:00.000Z'),
targetDate: new Date(2023, 6, 27, 0, 0, 0),
dateOne: new Date(2023, 6, 27, 6, 0, 0),
dateTwo: new Date(2023, 6, 27, 12, 0, 0),
expected: true,
},
])(
Expand Down

0 comments on commit 423ea07

Please sign in to comment.