MB Countdown

ExpressionEngine 1.x, ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Mark Bowen Design


You must be logged in to post.

Out by 1 day

Bug Report

Paul Frost
Paul Frost

I’m having two problems.
If i set the date to: 1st December 2012 00:00:01 am
I get “There are 42 years, 11 months, 11 days, 12 hours, and 3 minutes left until My Birthday”

if I set the date to: 31st November 2012 11:59:00 pm
I get “There are 4 days, 12 hours, and 1 minute left until My Birthday “

The later one looks right but is 1 day out.
Time now is 27th November 2012 11:58am

EE v2.5.2 - Build Date: 20120606

Paul Frost
# 1
Paul Frost

I obviously forgot that there are only 30 days in November, but there still seems to be a problem with seconds and minutes.
I want the trigger date/time to be 1 second after midnight and I get the 42 years…
But it seems to need a number in the hours.

Paul Frost
# 2
Paul Frost

Then when it runs past the set time it starts showing 23 hours, and 59 minutes to go.