diff options
| author | Fuwn <[email protected]> | 2024-03-17 05:25:40 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-03-17 05:25:40 -0700 |
| commit | 3e0c9e79937a3d8da23d7e43743a7810485e3c6f (patch) | |
| tree | 01db18e01265156962854512be220df047befb64 /src/lib/Locale/english.ts | |
| parent | feat(tools): hayai v2 (diff) | |
| download | due.moe-3e0c9e79937a3d8da23d7e43743a7810485e3c6f.tar.xz due.moe-3e0c9e79937a3d8da23d7e43743a7810485e3c6f.zip | |
fix(umamusume): null-check birthdays
Diffstat (limited to 'src/lib/Locale/english.ts')
| -rw-r--r-- | src/lib/Locale/english.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/Locale/english.ts b/src/lib/Locale/english.ts index d994475f..34666978 100644 --- a/src/lib/Locale/english.ts +++ b/src/lib/Locale/english.ts @@ -297,6 +297,12 @@ const English: Locale = { minute: 'numeric' // second: 'numeric' // timeZoneName: 'short' + }).format, + dayFormatter: new Intl.DateTimeFormat('en-US', { + year: 'numeric', + month: 'long', + day: 'numeric', + weekday: 'long' }).format }; |