run cargo update

This commit is contained in:
Marcel Märtens 2024-02-06 11:50:20 +01:00
parent 56f8587ce1
commit c69224171b
2 changed files with 1031 additions and 866 deletions

1894
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -31,7 +31,8 @@ impl Calendar {
let now = match tz {
Some(tz) => {
let utc = Utc::now().naive_utc();
DateTime::<Tz>::from_utc(utc, tz.offset_from_utc_datetime(&utc)).naive_local()
DateTime::<Tz>::from_naive_utc_and_offset(utc, tz.offset_from_utc_datetime(&utc))
.naive_local()
},
None => Local::now().naive_local(),
};