Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ana_rchy committed May 29, 2024
1 parent 74f426d commit fcf804b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ struct ResponseResults {

pub async fn get_sunset_time() -> Result<time::OffsetDateTime, reqwest::Error> {
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
Expand Down

0 comments on commit fcf804b

Please sign in to comment.