lukaslangrock / ShutdownTimerClassic

Pick a time and let your computer shutdown itself.
https://www.microsoft.com/store/apps/9NTDG6C9BTTW?cid=github.com
MIT License
364 stars 42 forks source link

Timer can't count down from 24 or more hours #3

Closed lukaslangrock closed 4 years ago

lukaslangrock commented 4 years ago

It seems like the there is an automatic conversion from hours into days so >=24h will result in the hours going back to zero and a day getting incremented (which won't affect the countdown as it only uses hours, minutes, and seconds, not days).

This is probably because I only request hours, minutes, and seconds from the TimeSpan difference between countdown start and the countdown target.

lukaslangrock commented 4 years ago

Fixed with 16c52b6.