diff options
author | Leo Chandra <leo.chandra11@gmail.com> | 2019-11-16 20:24:07 +0700 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2019-11-16 08:24:07 -0500 |
commit | 26bf928d28496920bb86934b06ac4342a0998597 (patch) | |
tree | 1bd0013b2b52d5e4ed342af16c7d2e11928f6ac1 /std/datetime/mod.ts | |
parent | 34ed16ed3a7dd5c33382c55df4a24313eb4038ec (diff) |
fix: std/datetime toIMF bug (#3357)
Diffstat (limited to 'std/datetime/mod.ts')
-rw-r--r-- | std/datetime/mod.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/std/datetime/mod.ts b/std/datetime/mod.ts index efa6e09fe..219e4ae2c 100644 --- a/std/datetime/mod.ts +++ b/std/datetime/mod.ts @@ -126,11 +126,12 @@ export function toIMF(date: Date): string { const min = dtPad(date.getUTCMinutes().toString()); const s = dtPad(date.getUTCSeconds().toString()); const y = date.getUTCFullYear(); - const days = ["Sun", "Mon", "Tue", "Wed", "Thus", "Fri", "Sat"]; + const days = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; const months = [ "Jan", "Feb", "Mar", + "Apr", "May", "Jun", "Jul", |