Edzelf/ESP32-Radio

Fix for weekdays in LCD2004.h

h1aji opened this issue · 1 comments

h1aji commented

I noticed that Sunday is always shown as ??? Little bit googling said that timeinfo.tm_wday 0 is for sunday,
So this line

const char* WDAYS [] = { "???", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" } ;

Should be modified to
const char* WDAYS [] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" } ;

Fixed