Reset the seconds also if the getRestDate is called

Fix small bug and the rest date

Rest the date seconds

A24group/Triage#3296