mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
run cargo update
This commit is contained in:
parent
56f8587ce1
commit
c69224171b
1894
Cargo.lock
generated
1894
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -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(),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user