Privacywonk / MMM-Surf

MagicMirror module that pulls in tide, water temp, and Magicseaweed data to show an at-a-glance surf report for your favorite spot.
Other
5 stars 2 forks source link

Daily forecast for current day #19

Closed Privacywonk closed 6 years ago

Privacywonk commented 6 years ago

After logic update for 1.0.0 release, the daily forecast row will display the "best" time for the current date. Need to add a check to remove the current day from the daily forecast row to prevent bleed over (e.g. only show 4 forecasts.

image

Privacywonk commented 6 years ago

Updated. Added a break statement in magicforecastDaily for loop:


if (f > 2) {
break;
}