Hello all,
I have an interesting mystery involving timestamps and date formats on my Saratoga / Weather-Display template site.
Issue #1 -
https://camwx.com/wxstatus.php is showing that my Weather Display weather data is out of date. My testtags.php is uploading on schedule every 5 minutes, and as best I can tell, the $date and $time contained therein are correct, which is what include-wxstatus.php tests for, if I'm reading my PHP correctly.
Issue #2 - All the variables on my
https://camwx.com/wxtrends.php page are showing correctly except for one: Date of last rainfall (never mind the old data warning at the top due to the perviously mentioned out-of-date weather data). It should be 5 June, 2020. But instead it's showing 6 May, 2020, which is 6/5/2020 inverted. I double-checked all the date/time variables in my settings.php, and they all look exactly correct. I even checked the unit settings in my Weather-Display program control panel to be sure it was formatting the date correctly when it created a testtags file.
I'm stumped. Pertinent script files included. Any input is appreciated!
Thanks,
Grant