will be make year 2000
This commit is contained in:
SpudGunMan
2025-10-20 09:54:25 -07:00
parent d01f143adf
commit 2b420022f9
2 changed files with 2 additions and 2 deletions

View File

@@ -756,7 +756,7 @@ def get_nws_marine(zone, days=3):
marine_pz_data = marine_pz_data.text
#validate data
todayDate = today.strftime("%Y%m%d")
todayDate = datetime.now().strftime("%Y%m%d")
if marine_pz_data.startswith("Expires:"):
expires = marine_pz_data.split(";;")[0].split(":")[1]
expires_date = expires[:8]