Closed (fixed)
Project:
Javascript Countdown Timer
Version:
6.x-2.9
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2008 at 11:43 UTC
Updated:
20 Dec 2008 at 00:36 UTC
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
Comment #1
jvandervort commentedIt 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.
Comment #2
errement commentedjvandervort,
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.
Comment #3
errement commentedIncluding again the span but with code:
<span style="display:none" class="datetime">2008-12-24T24:00:00-00:00</span>And as for this:
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.
Comment #4
errement commentedThis 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.
Comment #5
jvandervort commentedIf 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:
Comment #6
jvandervort commented2 weeks no activity.