Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

RTCInt.cpp needs tweak #11

Open
Piruthivi opened this issue Jan 2, 2020 · 0 comments
Open

RTCInt.cpp needs tweak #11

Piruthivi opened this issue Jan 2, 2020 · 0 comments

Comments

@Piruthivi
Copy link

Piruthivi commented Jan 2, 2020

In RTCInt.cpp day setting function and month setting function doesn't support for day '1' and month '1'.
The condition needs to be changed from
if((day > 1) && (day <=31)) to if((day >= 1) && (day <=31))
and
if((month > 1) && (month <=12)) to if((month >= 1) && (month <=12))

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant