From e6caeecd35c7e1b7567aa26f5fd0705b6eb63536 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 24 Jul 2024 19:59:59 -0700 Subject: [PATCH] Update locationdata.py --- modules/locationdata.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/locationdata.py b/modules/locationdata.py index 7ccb53a..d09859b 100644 --- a/modules/locationdata.py +++ b/modules/locationdata.py @@ -48,6 +48,8 @@ def get_tide(lat=0, lon=0): return ERROR_FETCHING_DATA station_url = "https://tidesandcurrents.noaa.gov/noaatidepredictions.html?id=" + station_id + if zuluTime: + station_url += "&clock=24hour" try: station_data = requests.get(station_url, timeout=URL_TIMEOUT)