v0.0.406 bf
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m34s

This commit is contained in:
Mike Schwörer 2024-03-10 16:44:21 +01:00
parent 0927fdc4d7
commit c1c8c64c76
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
package goext
const GoextVersion = "0.0.405"
const GoextVersion = "0.0.406"
const GoextVersionTimestamp = "2024-03-10T15:28:26+0100"
const GoextVersionTimestamp = "2024-03-10T16:44:21+0100"

View File

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