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:
parent
0927fdc4d7
commit
c1c8c64c76
@ -1,5 +1,5 @@
|
|||||||
package goext
|
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"
|
||||||
|
@ -214,11 +214,11 @@ func (t *Date) ParseString(v string) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return errors.New("invalid date format: " + v + ": " + err.Error())
|
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 {
|
if err != nil {
|
||||||
return errors.New("invalid date format: " + v + ": " + err.Error())
|
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 {
|
if err != nil {
|
||||||
return errors.New("invalid date format: " + v + ": " + err.Error())
|
return errors.New("invalid date format: " + v + ": " + err.Error())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user