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