Count-Up Timers Flakey
WISEOZ - April 16, 2008 - 00:12
| Project: | Javascript Countdown Timer |
| Version: | 5.x-1.9 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
My count-up timers are being flakey. Seems to only be with count-up though. I am using countdown in other areas of my site and it appears to be working correctly.
I am in the Eastern Time Zone. When I use -5 for tz_hours it gives me minus (-) time. I switched to -4 and got it correct last night but now it's showing only a couple hours have passed for a "datetime" that started over a day ago.
Can you let me know if I've got something wrong here?
<p align="center">
<b>This clue has been unresolved for...</b>
<span class="countdowntimer">Count Up, this shows until timer initializes or for non-js folks
<span style="display:none" name="datetime">2008-04-14T20:00:00</span>
<span style="display:none" name="tz_hours">-4</span>
<span style="display:none" name="dir">up</span>
</span>
</p>
#1
Forgot to mention ... My site is in production now so you can see exactly what I'm talking about by going to http://www.wiseoz.com/wisewits. Select either of the WiseWits listed under "Now Playing". You will see the Date & Time I'm using in the timer code and the output of the timer code.
#2
Is this still happening? I know that the -5 and -4 issue might be daylight savings time, but the other issue I'd need a timer that is currently malfunctioning.
#3
Yes, still malfunctioning. There are examples of two malfunctioning timers here ...
At http://www.wiseoz.com/node/697, this code is being used in that field:
<p align="center"><b>This event has been running for...</b>
<span class="countdowntimer">
<span style="display:none" name="datetime">2008-04-14T20:00:00</span>
<span style="display:none" name="tz_hours">-4</span>
<span style="display:none" name="dir">up</span>
</span>
</p>
At http://www.wiseoz.com/node/707, this code is being used in that field:
<p align="center"><b>This event has been running for...</b>
<span class="countdowntimer">Count Up, this shows until timer initializes or for non-js folks
<span style="display:none" name="datetime">2008-04-15T19:50:00</span>
<span style="display:none" name="tz_hours">-4</span>
<span style="display:none" name="dir">up</span>
</span>
#4
For 697 I'm reading:
Start/End:
Tuesday, April 15, 2008 8:00pm
This event has been running for... 5 days + 18:21:52
Looks right, what are you seeing for the 697 timer that is incorrect?
#5
For 697, I am seeing ... -1 days + 23:13:52.
#6
Try upgrading to the latest countdown timer 5.x-1.21.
I added some debugging for negative count-up timers. It shows you the date before processing, and then the date
converted to your local timezone. It should shed some light on what it is finding.
#7
You also may have to clear your browser cache to get it to reload the js file.
#8
Well, as soon as I got this version in my DEV environment, my PRD environment decided to work correctly. So, nothing has changed but all my countdown timers are now displaying correctly. I'm not sure how to explain it. I'll keep an eye on it and get back to you if I see it happening again.
#9
Closed without more information.