jarzebski / Arduino-DS3231

DS3231 Real-Time-Clock
MIT License
157 stars 84 forks source link

-2000 in yer formatting #27

Open Kroshtandt opened 4 years ago

Kroshtandt commented 4 years ago

I haven't checked, but this may cause issues with dates < 2000. ex: 1999 - 2000 = -1, and not 99

https://github.com/jarzebski/Arduino-DS3231/blob/ea18fe451ac82b524f03a94e5ac27f172c00a1d9/DS3231.cpp#L239