summaryrefslogtreecommitdiff
path: root/lib/date/fmt.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/date/fmt.myr')
-rw-r--r--lib/date/fmt.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/date/fmt.myr b/lib/date/fmt.myr
index c66827b..323b25a 100644
--- a/lib/date/fmt.myr
+++ b/lib/date/fmt.myr
@@ -62,9 +62,9 @@ const datefmt = {sb, fmt, d
| 'H': std.sbfmt(sb, "{p=0,w=2}", d.h)
| 'I': std.sbfmt(sb, "{p=0,w=2}", d.h % 12)
| 'j': std.sbfmt(sb, "year day... unimplemented.")
- | 'k': std.sbfmt(sb, "{}", d.h)
+ | 'k': std.sbfmt(sb, "{p=0,w=2}", d.h)
| 'l': std.sbfmt(sb, "{}", d.h % 12)
- | 'm': std.sbfmt(sb, "{}", d.mon)
+ | 'm': std.sbfmt(sb, "{p=0,w=2}", d.mon)
| 'M': std.sbfmt(sb, "{p=0,w=2}", d.m)
| 'n': std.sbfmt(sb, "\n")
| 'O': std.sbfmt(sb, "unsupported %O")