Skip to content

Commit

Permalink
Fix overflow duration error messages (#69)
Browse files Browse the repository at this point in the history
* fix comment
* v bump
  • Loading branch information
sydney-runkle authored Jun 26, 2024
1 parent c35f715 commit 0aa56ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "speedate"
authors = ["Samuel Colvin <s@muelcolvin.com>"]
version = "0.14.1"
version = "0.14.2"
edition = "2021"
description = "Fast and simple datetime, date, time and duration parsing"
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0aa56ea

Please sign in to comment.