Skip to content

Commit

Permalink
Spell locale right
Browse files Browse the repository at this point in the history
Co-authored-by: Richard van der Hoff <[email protected]>
  • Loading branch information
dbkr and richvdh authored Dec 11, 2024
1 parent c94fb7e commit b0ba1ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit-tests/utils/DateUtils-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ describe("formatDate", () => {
// We use en-US for these tests because there was a change in Node 22.12 which removed
// the comma after the weekday for en-GB which makes the test output different things
// on different node versions. I'm not sure what a better fix would be, so let's just use
// a local that happens to have a more stable formatting right now.
// a locale that happens to have a more stable formatting right now.
expect(formatDate(date, false, "en-US")).toMatchInlineSnapshot(`"19:10"`);
});

Expand Down

0 comments on commit b0ba1ee

Please sign in to comment.