Skip to content

Commit 301bfc1

Browse files
committed
remove deprecated function
Signed-off-by: Runji Wang <[email protected]>
1 parent 014ccbe commit 301bfc1

File tree

1 file changed

+1
-1
lines changed
  • src/tests/e2e_extended_mode/src

1 file changed

+1
-1
lines changed

src/tests/e2e_extended_mode/src/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ impl TestSuite {
187187
);
188188
}
189189

190-
let timestamptz = DateTime::<Utc>::from_utc(
190+
let timestamptz = DateTime::<Utc>::from_naive_utc_and_offset(
191191
NaiveDate::from_ymd_opt(2022, 1, 1)
192192
.unwrap()
193193
.and_hms_opt(10, 0, 0)

0 commit comments

Comments
 (0)