in monthtemperaturechart2previous.php the code takes off one month in line 23 but in line 62 it's still using the current year:jasonmfarrow wrote: ↑Sat Jan 01, 2022 1:51 pm Hi Brian,
In the various charts, "yesterday" and "last month" are not working but "last year" is. Possibly a 2022 vs 2021 issue given that this is the first year-up since this functionality was added. The december.csv and 31dec2021.csv files are good from a content pov.
FYI: update31-12-2021.zip is applied.
Code: Select all
url: "<?php echo date('Y');?>/<?php echo $weatherfile;?>.csv",
Regards