Hi, first of all thanks for great module.

I have drupal system default timezone set to +01:00, tried counting down to a time & day and i get one hour more on final calculations. Does it read from system time?

Anyone got this problem?

Thanks.

Comments

jvandervort’s picture

Status: Active » Postponed (maintainer needs more info)

It doesn't use the drupal system default, it uses the timezone in your countdown timer span tag and the time setting in the web browser of the person viewing the page. If the web browser system time is off or if a daylight saving boundary is crossed you might get an hour discrepancy.
Let's see the full countdown timer span data and see what is going on.

errement’s picture

jvandervort,

Thanks for reply.

This is what i have:

2008-12-25T00:00:00-00:00

and i still need one hour less, how?

Right now i have 14:00 as time in my system, local time in Spain. and it gives me 22 days + 11:00:00 hours left for x-mas day.

Maybe i have something wrong, can you help please?
I have 24 hours set, maybe it reads 24:00 & 00:00 different instead of equals.

errement’s picture

Including again the span but with code:

<span style="display:none" class="datetime">2008-12-24T24:00:00-00:00</span>

And as for this:

I have 24 hours set, maybe it reads 24:00 & 00:00 different instead of equals.

No, as i checked both 2008-12-24T24:00:00-00:00 and 2008-12-25T00:00:00-00:00 and gives me same results.

errement’s picture

Category: bug » support

This fixed it:
<span style="display:none" class="datetime">2008-12-24T24:00:00</span>

But would like to understand what to do in future, and how other users would see it. My site is private for my students and all are, for the moment, in Spain, so i think that i wouldn't have problems as all their system time will sure be local time.

jvandervort’s picture

If you leave off the timezone, the countdown will be relative to every user's timezone.
This might not be what you want. If you want to use UTC, then try this:

<span class="countdowntimer">
     <span style="display:none" class="datetime">2008-12-24T00:00:00Z</span>
</span>
jvandervort’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

2 weeks no activity.