Spell locale right
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
c94fb7eb5c
commit
b0ba1ee1d1
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ describe("formatDate", () => {
|
||||||
// We use en-US for these tests because there was a change in Node 22.12 which removed
|
// 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
|
// 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
|
// 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"`);
|
expect(formatDate(date, false, "en-US")).toMatchInlineSnapshot(`"19:10"`);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue