Travis CI config updated and typo fixed.

formula
Ri Xu 7 years ago
parent 07a4140098
commit 76366fc1d9
No known key found for this signature in database
GPG Key ID: BA5E5BB1C948EDF7

@ -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)

@ -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)

Loading…
Cancel
Save