Thanks for the JS countdown ... I can use it. But I'm really looking for a Count-Up module or code. I need to be able to display X days since an event in the past. So if the even started on April 1 and it's now April 15, the display would indicate "Day 15" and so on. Thanks for any help or references.

Comments

jvandervort’s picture

Up works too.

<span class="countdowntimer">Wow, a lot of time has passed since the conference. (this shows until timer initializes or for non-js folks)
 <span style="display:none" class="datetime">2007-02-26T09:30:00-08:00</span> 
 <span style="display:none" class="dir">up</span>
</span>

Just remember the dir=up part.
It's in the readme.

Kitchen’s picture

Thanks, I'll try that.

jvandervort’s picture

Status: Active » Closed (fixed)
truyenle’s picture

Version: 6.x-2.14 » 6.x-2.21
Component: Miscellaneous » User interface

Work for me but still handy to modify that.

How about we combine the countdown and count up in once.

Let say: Today is Oct 15, 2010
The event date: October 30, 2010

And we want to start the count down from today. Therefore the countdown show the minus values and countdown toward to 0. On the date the event is on (October 30, 2010), it start count up with positive values.

Thanks you for this cool module.

Truyenle

truyenle’s picture

Category: feature » bug
Status: Closed (fixed) » Active

Well,

I did further test the module and see that

if we set the date to a future day and then change dir=up as:

<span style="display:none" class="dir">up</span>

The clock is counting up away from 0 starting from a minus value.

Let say - 90:14:03:30 -> - 90:14:03:35 -> - 90:14:03:40 -> etc.

I think in this case it should countup toward 0 and then become positive? don't you think.

This need to be fixed please.

Truyenle

jvandervort’s picture

Version: 6.x-2.21 » 6.x-2.14
Component: User interface » Miscellaneous
Category: bug » feature
Status: Active » Closed (fixed)

@truyenle,
Feel free to add a feature request for a rolling timer as you described it in the queue for the jstimer module.
All new development is going to happen over there, and we usually don't reopen old threads and change their intent.

truyenle’s picture

Thanks jvandervort, I'll do that now.

truyenle