Skip to content

Commit

Permalink
fix: Illegal date after file conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
yk0n9 committed Mar 9, 2023
1 parent cf89c10 commit 2c8f9e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helper_functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ where
let duration = f64_to_adjusted_duration(date);
match ChronoDuration::seconds(0).cmp(&duration) {
Ordering::Less => duration,
_ => ChronoDuration::seconds(0)
_ => ChronoDuration::seconds(0),
}
};
epoch + duration
Expand Down

0 comments on commit 2c8f9e5

Please sign in to comment.