summaryrefslogtreecommitdiff
path: root/styles.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2017-12-01 16:31:27 +0800
committerRi Xu <xuri.me@gmail.com>2017-12-01 16:31:27 +0800
commit76366fc1d9fe5d0a25d364c917597d4ac62f3b18 (patch)
tree58d6e5d01f8e7b85a4e92ad79a9a13cb3d7a9a5c /styles.go
parent07a41400984ac16558b68420a448394f92bd0a20 (diff)
Travis CI config updated and typo fixed.
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)