Sakamoto's original algorithm calculates the Sunday as number 0.
Currently the code performs re-numbering to number 7 before the DST calculation.
This can cause problem.
The Sunday has to remain the number 0 and the RTC has to use this value to draw the "SU" onto the LCD.
Sakamoto's original algorithm calculates the Sunday as number 0. Currently the code performs re-numbering to number 7 before the DST calculation. This can cause problem.
The Sunday has to remain the number 0 and the RTC has to use this value to draw the "SU" onto the LCD.