Hi, i found this great module for countdown, but i found a problem here. When i'm using "since" parameter, the jQuery countdown got an error, it not run only 00:00:00.

can we use the parameter "since" ? thanks for the help.

Comments

robloach’s picture

How are you using "since"? Make sure you're using the full date as a string.........

See http://drupal.org/node/354138 for more.

ev417’s picture

Hi Rob,

thanks for the reply.
i am using this code :

  jquery_countdown_add('#event', array('until' => 'November 3, 2009', 'since' => date("F d, Y g:i a")));

is there something wrong in it ? Thanks :)

robloach’s picture

Version: 6.x-1.1 » 6.x-1.x-dev
      // In this example, we use the theme function.
      $output .= '<p>' . theme('jquery_countdown', array(
        'since' => date("F d, Y g:i a", mktime(0,0,0,0,0,2009)),
        'format' => 'YOWDHMS',
        'description' => t('Since New Year'),
      )) . '</p>';

That works. Have you had troubles?

robloach’s picture

Status: Active » Fixed

There's a demonstration of it in admin/help/jquery_countdown.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.