mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-14 06:02:36 +00:00
Try reducing bad year count a bit, as it breaks on some platforms
This commit is contained in:
parent
820b41a7ef
commit
0e49185233
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ mod test {
|
|||
// a) high enough to break chrono
|
||||
// b) not high enough to break SystemTime (as Duration::MAX would)
|
||||
let end_time =
|
||||
time::SystemTime::UNIX_EPOCH + time::Duration::new(4437052 * 365 * 24 * 60 * 60, 0);
|
||||
time::SystemTime::UNIX_EPOCH + time::Duration::new(343702 * 365 * 24 * 60 * 60, 0);
|
||||
let colors = Colors::new(ThemeOption::Default);
|
||||
let date = Date::from(end_time);
|
||||
|
||||
|
|
Loading…
Reference in a new issue