summaryrefslogtreecommitdiff
path: root/styles.go
diff options
context:
space:
mode:
Diffstat (limited to 'styles.go')
-rw-r--r--styles.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/styles.go b/styles.go
index 07ccab1..2a99a4d 100644
--- a/styles.go
+++ b/styles.go
@@ -996,6 +996,7 @@ func parseTime(v string, format string) string {
{"mm", "01"},
{"am/pm", "pm"},
{"m/", "1/"},
+ {"m", "1"},
{"%%%%", "January"},
{"&&&&", "Monday"},
}
@@ -1005,6 +1006,7 @@ func parseTime(v string, format string) string {
{"\\ ", " "},
{"\\.", "."},
{"\\", ""},
+ {"\"", ""},
}
// It is the presence of the "am/pm" indicator that determines if this is
// a 12 hour or 24 hours time format, not the number of 'h' characters.