v0.0.406 bf
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m34s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m34s
This commit is contained in:
@@ -214,11 +214,11 @@ func (t *Date) ParseString(v string) error {
|
||||
if err != nil {
|
||||
return errors.New("invalid date format: " + v + ": " + err.Error())
|
||||
}
|
||||
month, err := strconv.ParseInt(split[0], 10, 32)
|
||||
month, err := strconv.ParseInt(split[1], 10, 32)
|
||||
if err != nil {
|
||||
return errors.New("invalid date format: " + v + ": " + err.Error())
|
||||
}
|
||||
day, err := strconv.ParseInt(split[0], 10, 32)
|
||||
day, err := strconv.ParseInt(split[2], 10, 32)
|
||||
if err != nil {
|
||||
return errors.New("invalid date format: " + v + ": " + err.Error())
|
||||
}
|
||||
|
Reference in New Issue
Block a user