Merge pull request #5854 from AllenZMC/patch-1

fix mis-spelling in template.go
This commit is contained in:
Bartek Płotka 2019-08-11 13:20:55 +01:00 committed by GitHub
commit 8ae00e9868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ func NewTemplateExpander(
if minutes != 0 {
return fmt.Sprintf("%s%dm %ds", sign, minutes, seconds)
}
// For seconds, we display 4 significant digts.
// For seconds, we display 4 significant digits.
return fmt.Sprintf("%s%.4gs", sign, v)
}
prefix := ""