We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b765a5 commit b0b5409Copy full SHA for b0b5409
1 file changed
parseany.go
@@ -2156,17 +2156,6 @@ func (p *parser) trimExtra() {
2156
}
2157
2158
2159
-// func (p *parser) remove(i, length int) {
2160
-// if len(p.format) > i+length {
2161
-// //append(a[:i], a[j:]...)
2162
-// p.format = append(p.format[0:i], p.format[i+length:]...)
2163
-// }
2164
-// if len(p.datestr) > i+length {
2165
2166
-// p.datestr = fmt.Sprintf("%s%s", p.datestr[0:i], p.datestr[i+length:])
2167
2168
2169
-
2170
func (p *parser) parse() (time.Time, error) {
2171
if p.t != nil {
2172
return *p.t, nil
0 commit comments