From fcf804bacf71e81adeaa888e5d0bf191eb31069e Mon Sep 17 00:00:00 2001 From: ana_rchy Date: Wed, 29 May 2024 21:42:15 +0100 Subject: [PATCH] fix typo --- src/web.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web.rs b/src/web.rs index 7018851..dd6e923 100644 --- a/src/web.rs +++ b/src/web.rs @@ -13,7 +13,7 @@ struct ResponseResults { pub async fn get_sunset_time() -> Result { const DUBLIN_COORDS: (&str, &str) = ("53.345727", "-6.269727"); - const TIMEZONE: &str = "&tzid=Europe/Dublin"; + const TIMEZONE: &str = "Europe/Dublin"; let url = format!( "http://api.sunrise-sunset.org/json?lat={}&lng={}&formatted=0&tzid={}", DUBLIN_COORDS.0, DUBLIN_COORDS.1, TIMEZONE