VincentLoy/simplyCountdown.js

Just showing a few hours as countdown returns 0 0 0 0

Closed this issue · 3 comments

If you specify the same year, to get a countdown for just a few hours like
screen shot 2016-07-28 at 16 37 56
you receive:
screen shot 2016-07-28 at 16 38 08

if i change the year to 2017
screen shot 2016-07-28 at 16 38 20

it works
screen shot 2016-07-28 at 16 38 24

Hi @pliebig ! This is may be caused because the hours parameter takes an Integer between 0 and 23. So if you want 4pm you have to put 16. Tell me if it worked :)

Hi @VincentLoy
Thank you very much. You are absolutely right. I wanted to have 4:30 in the morning, but i was totally on the wrong day 😄

Appreciate your time and the fast response!

Kind Regards

Hey @pliebig, happy to hear that you can solved your problem. Thank you for using simplyCountdiwn. :)