Naervern / sunnybreeze

A tiny solar-powered esp32-s2 weather monitor with wifi capture portal access, intended as a weather awareness project to enable monitoring for climate research and civic participation
GNU General Public License v3.0
0 stars 0 forks source link

Week registry bug #11

Closed Naervern closed 7 months ago

Naervern commented 7 months ago

Sometimes something happens between the attribution of value to the arrays "hist-" and the parsing of the JS function that gives the weekly highs and lows, specifically changing some value of the last day (aka entry i=6).

My guess is some mistake in the function shift_week() putting the instant values in the last rows instead of assigning them to the new day.