Files
stc32g128k/App
edisondeng cb37b1deea feat(clock): add day/month/year rollover and Zeller weekday calc
Extends Clock_IncMS()'s existing sec->min->hour cascade to also roll
day->month->year (with leap-year Feb 29 via Days_In_Month()), and adds
Clock_RecalcWeekday() computing current_weekday via Zeller's congruence
whenever the date changes, rather than trusting PCF8563's own weekday
register (which would drift if the date is edited manually). Verified
the formula against 2026-07-31, a known Friday.
2026-07-31 19:32:44 +08:00
..
2026-07-31 13:57:06 +08:00
2026-07-31 13:57:06 +08:00
2026-07-31 13:57:06 +08:00
2026-07-31 13:57:06 +08:00
2026-07-31 13:57:06 +08:00