Changing the time display format of jQuery Countdown

Tadashi Shigeoka ·  Sat, March 8, 2014

A snippet memo for changing the time display format of jQuery Countdown.

For example, if you want a display format like 10 Days : 20 Hours : 30 Minutes : 40 Seconds, you would write it as follows:

$(selector).countdown({
  separator_days: ': ',
  separator: ': ',
  label_dd: ' Days ',
  label_hh: ' Hours ',
  label_mm: ' Minutes ',
  label_ss: ' Seconds '
});

Reference Information

kemar/jquery.countdown

That’s all from the Gemba.