shivikawedsyash / invitation

0 stars 0 forks source link

The countdown timer shows wrong calculation #9

Open shivikawedsyash opened 4 days ago

varunvasudevan94 commented 4 days ago

code logically seems correct, any specific issue with the time ? (I do see the time for engagement & wedding is set to 12:00)

var countdownDates = {
    'engagement': new Date("Dec 2, 2024 00:00:00").getTime(),
    'wedding': new Date("Dec 6, 2024 00:00:00").getTime()
};

Fixing this should likely fix the timer

hardik099 commented 4 days ago

We can change this to point to 2nd dec 2024 10am types Currently confusion is people have to do maths to realize 2nd dec 12 am