Open robhuzzey opened 8 years ago
Looking at https://github.com/holidayextras/ui-toolkit/blob/master/src/components/countdown/lib/countdown.js#L49-L51 it seems that when we reach "same day" we behave differently by assuming we haven't passed in a time (moment.duration() defaults to same day at midnight).
Can we adjust this so it uses the time as well so we can do until=2016-03-24T12:00 for example.
until=2016-03-24T12:00
Looking at https://github.com/holidayextras/ui-toolkit/blob/master/src/components/countdown/lib/countdown.js#L49-L51 it seems that when we reach "same day" we behave differently by assuming we haven't passed in a time (moment.duration() defaults to same day at midnight).
Can we adjust this so it uses the time as well so we can do
until=2016-03-24T12:00
for example.