Fix another deprecated chrono usage
@@ -340,7 +340,7 @@ async fn test() -> Result<()> {
g: i32 = -32_000,
h: i64 = -33_000,
i: &str = "hello",
- j: DateTime<Tz> = DateTime::<Utc>::from_utc(NaiveDateTime::from_timestamp(1634400000, 0), Utc),
+ j: DateTime<Tz> = DateTime::<Utc>::from_utc(NaiveDateTime::from_timestamp_opt(1634400000, 0).expect("valid timestamp literal"), Utc),
// k: DateTime<Tz> = DateTime::<Utc>::from_utc(NaiveDateTime::from_timestamp(1634400000, 0), Utc),
// l: DateTime<Tz> = DateTime::<Utc>::from_utc(NaiveDateTime::from_timestamp(1634400000, 0), Utc),
// m: DateTime<Tz> = DateTime::<Utc>::from_utc(NaiveDateTime::from_timestamp(1634400000, 0), Utc),
