I have a semisimple pure js countdown clock that I am having trouble converting the millisecond time correctly.
Here is a working Plunker (besides the date counter)
It Should only be 38 days instead of 184.
//// Should Countdown till feb, 4th 2019 /////
let cd = new Countdown({
cont: document.querySelector(".container"),
endDate: 1549263600000,
outputTranslation: {
year: "Years",
week: "Weeks",
day: "Days",
hour: "Hours",
minute: "Minutes",
second: "Seconds"
},
endCallback: null,
outputFormat: "day|hour|minute|second"
});
Thank's I appreciate the help!