diff --git a/Cargo.toml b/Cargo.toml index ded8650..6d6444e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "speedate" authors = ["Samuel Colvin "] -version = "0.14.1" +version = "0.14.2" edition = "2021" description = "Fast and simple datetime, date, time and duration parsing" readme = "README.md" diff --git a/src/lib.rs b/src/lib.rs index 6036d11..ce3e989 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -134,9 +134,9 @@ pub enum ParseError { DurationInvalidDays, /// a numeric value in the duration is too large DurationValueTooLarge, - /// durations may not exceed 999,999,999 days + /// durations may not exceed 999,999,999 hours DurationHourValueTooLarge, - /// durations hours must less than 1,000,000,000 + /// durations may not exceed 999,999,999 days DurationDaysTooLarge, /// dates before 1600 are not supported as unix timestamps DateTooSmall,