diff --git a/src/datetime/tests.rs b/src/datetime/tests.rs index 8e1877c50e..a814433853 100644 --- a/src/datetime/tests.rs +++ b/src/datetime/tests.rs @@ -857,6 +857,13 @@ fn test_datetime_from_local() { assert_eq!(datetime_west, datetime_utc.with_timezone(&timezone_west)); } +#[test] +fn test_issue_651() { + let dt = NaiveDate::from_ymd_opt(1601, 1, 1).unwrap().and_hms_milli_opt(4, 5, 22, 122).unwrap(); + let local_dt = Local.from_utc_datetime(&dt); + dbg!(local_dt); +} + #[test] #[cfg(feature = "clock")] fn test_years_elapsed() {