summaryrefslogtreecommitdiff
path: root/styles.go
diff options
context:
space:
mode:
Diffstat (limited to 'styles.go')
-rw-r--r--styles.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/styles.go b/styles.go
index 47f34a5..87bca13 100644
--- a/styles.go
+++ b/styles.go
@@ -952,8 +952,8 @@ func parseTime(i int, v string) string {
{"%%%%", "January"},
{"&&&&", "Monday"},
}
- // It is the presence of the "am/pm" indicator that determins if this is a
- // 12 hour or 24 hours time format, not the number of 'h' characters.
+ // 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.
if is12HourTime(format) {
format = strings.Replace(format, "hh", "03", 1)
format = strings.Replace(format, "h", "3", 1)