summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--styles.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 8285809..f4e5c0c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,7 +9,7 @@ go:
script:
- go vet ./...
- - go test -v -coverprofile=coverage.txt -covermode=atomic
+ - go test ./... -v -coverprofile=coverage.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash)
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)