By using the following function, on the 31st of August (today) the countdown displays 41 days to go rather than the expected 11. Other formats reveal the same problem of an additional month being added. Am I missing something, or is this an issue others have encountered?

<?php
  echo theme('jquery_countdown', array(
    'until' => date("F d, Y H:i a", mktime(12,0,0,9,11,2009)),
    'format' => 'dHMS',
    'description' => t('<em>Time to go!</em>'),
  ));
?>

Many thanks.

Comments

robloach’s picture

Try this:

  echo theme('jquery_countdown', array(
    'until' => array(2009, 9, 11),
    'format' => 'dHMS',
    'description' => t('<em>Time to go!</em>'),
  ));
robloach’s picture

Status: Active » Postponed
blackice2999’s picture

Status: Postponed » Closed (fixed)

closed for inactivity