Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to version 0.4.31 and adjust millisecond value in Timestamp c…
…reation (gluesql#1427) Cause: After upgrading to version 0.4.31, it was observed that the `and_hms_milli_opt()` function considers values of 1000 milliseconds (equivalent to 1 second) as potentially invalid unless representing a leap second with `sec == 59`. For the date `1989-03-20`, 1000 milliseconds was not a valid input. Resolution: Fixed the millisecond value in the `NaiveDate::from_ymd_opt()` function by changing it from `1000` to `999`, adjusting to the maximum valid millisecond value of `999`. Signed-off-by: zmrdltl <meenseek5929@naver.com>
- Loading branch information