Adaptive formatting for countdowntimer?

StephanieM - November 9, 2007 - 19:36
Project:Javascript Countdown Timer
Version:5.x-1.16
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Nice job on this module! It seems to have everything I want: lots of formatting options, fairly easy to use (provided you're allowed to use full HTML). Now if it could just start the coffee maker when it times out...

Seriously, now that it works well, I'd like to suggest some way to do adaptive formatting.

This would adjust the output format to increase the resolution as the end time approached; something like: Show nothing finer than days until there's 2 days left; then include hours. For the last two hours, include minutes, then for the last two minutes include seconds. Drop off high-order items that have run to zero. Thus:

14 days
2 days
1 day 21 hours
6 hours
1 hour 12 minutes
58 minutes
1 minute 20 seconds
45 seconds

Thoughts?

#1

jvandervort - March 3, 2008 - 21:51
Status:active» postponed

I'm keeping this on the back-burner, but I'm not sure about it.

#2

seals - April 17, 2008 - 09:15

Adaptive formatting would be nice! And optional it would be even better if the admin could set the tunings himself.

#3

jvandervort - October 8, 2008 - 18:27
Status:postponed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.