From fd47cc3dca05e88305a62619a8c4d38cac57d874 Mon Sep 17 00:00:00 2001 From: xuri Date: Sat, 21 Aug 2021 11:42:17 +0800 Subject: [PATCH] typo fixed --- calc.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/calc.go b/calc.go index a83ac3509d..a434709266 100644 --- a/calc.go +++ b/calc.go @@ -6181,7 +6181,7 @@ func strToTimePatternHandler1(submatch []string) (h, m int, s float64, err error } // strToTimePatternHandler2 parse and convert the given string in pattern -// hh to the time. +// hh:mm to the time. func strToTimePatternHandler2(submatch []string) (h, m int, s float64, err error) { if h, err = strconv.Atoi(submatch[0]); err != nil { return @@ -6191,7 +6191,7 @@ func strToTimePatternHandler2(submatch []string) (h, m int, s float64, err error } // strToTimePatternHandler3 parse and convert the given string in pattern -// hh to the time. +// mm:ss to the time. func strToTimePatternHandler3(submatch []string) (h, m int, s float64, err error) { if m, err = strconv.Atoi(submatch[0]); err != nil { return @@ -6201,7 +6201,7 @@ func strToTimePatternHandler3(submatch []string) (h, m int, s float64, err error } // strToTimePatternHandler4 parse and convert the given string in pattern -// hh to the time. +// hh:mm:ss to the time. func strToTimePatternHandler4(submatch []string) (h, m int, s float64, err error) { if h, err = strconv.Atoi(submatch[0]); err != nil { return