Skip to content

Commit

Permalink
Update src/app/components/shared/datetime-formats/datetime/datetime/d…
Browse files Browse the repository at this point in the history
…atetime.component.spec.ts

Co-authored-by: Anthony Truskinger <[email protected]>
  • Loading branch information
hudson-newey and atruskie authored Jan 4, 2024
1 parent f5100cf commit e908035
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const testCases: TestCase[] = [
expectedDateTimeAttribute: "2020-01-01T20:10:11.123+08:00",
},
{
name: "Luxon DateTime in test runners timezone",
name: "local DateTime",
// by setting the timezone to Australia/Perth, we should see that the time value is not changed
// because the Luxon DateTime object is already in the same timezone as the test runner
// by using { keepLocalTime: true }, we ensure that the time is not changed when we change the timezone
Expand Down

0 comments on commit e908035

Please sign in to comment.