Active
Project:
jQuery Countdown
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2010 at 07:06 UTC
Updated:
23 Jul 2012 at 16:17 UTC
the code form the document.
<?php
echo 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'),
));
?>
when i put this code in the story, and change the mktime(0,0,0,10,20,2013)set the input type to php,but it can't work, why.
Comments
Comment #1
ulsc commentedchange "since" to "until" then it will work.
Comment #2
Letharion commentedI'm using D7, and the example doesn't work at all. Perhaps the API has just changed since then. This got things working for me.
Comment #3
Letharion commented