Little problem with the Countdown plugin: it always says there are 0 days and 0 hours left until the event. I dropped the plugin into the plugins folder, added the code properly. I haven’t found a mention of this happening to anyone else.
If it means anything, the code is on an embedded template.
Curiouser and curiouser, as they say. I changed the year to 2005 and some arbitrary date, and it seemed to work. So I set date at 25, month at 12 and year at 2004 to see if perhaps we were a month off (for whatever reason). The result was 17 days and 9 hours to Thanksgiving. Not right at all, days or hours.
Posting times from my server are correct.
I’m using the Countdown plugin (1.2) with EE 1.5.2 and the hours parameter doesn’t seem to work. I’m trying to set it to 5pm, which I have asbut it is being ignored. Otherwise, the day date and year are working fine. Anybody have any suggestions?
Old topic but just installed the plugin and spotted the same problem in v1.2. Two things, the parameter should be hour=”17” and not hours and there is a bug in the code.
Line 31 in pi.countdown.php has an error, it should read…
//make unix timestamp for given date $countdowndate = mktime($hour, 0, 0, $month, $day, $year);
It was using the $hour parameter in the seconds position of mktime.