Compare commits

...

2 commits

Author SHA1 Message Date
WanderingPenwing a46962e87c cleaned up 2024-10-22 10:31:03 +02:00
WanderingPenwing 23037eb7ee fixed date warning 2024-10-22 10:28:15 +02:00

View file

@ -59,7 +59,7 @@ async fn main() {
let weather_result = weather_client.forecast()
.query(Query::City("Toulouse".to_string()))
.days(2)
.dt(Utc.ymd(2022, 08, 21).and_hms(0, 0, 0))
.dt(Utc.with_ymd_and_hms(2022, 08, 21, 0, 0, 0).unwrap())
.lang(Language::French)
.call();