We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 420a46c commit 7e19c20Copy full SHA for 7e19c20
datafusion/core/tests/sql/timestamp.rs
@@ -576,8 +576,8 @@ async fn timestamp_add_interval_months() -> Result<()> {
576
let res2 = actual[0][1].as_str();
577
578
let format = "%Y-%m-%dT%H:%M:%S%.6fZ";
579
- let t1_naive = chrono::NaiveDateTime::parse_from_str(res1, format).unwrap();
580
- let t2_naive = chrono::NaiveDateTime::parse_from_str(res2, format).unwrap();
+ let t1_naive = NaiveDateTime::parse_from_str(res1, format).unwrap();
+ let t2_naive = NaiveDateTime::parse_from_str(res2, format).unwrap();
581
582
let year = t1_naive.year() + (t1_naive.month0() as i32 + 17) / 12;
583
let month = (t1_naive.month0() + 17) % 12 + 1;
0 commit comments