WordPress.org

Plugin Directory

countdown-timer

Opened 3 years ago

Closed 3 years ago

#1274 closed enhancement (fixed)

padding zero

Reported by: fergbrain Owned by: fergbrain
Priority: normal Severity: normal
Plugin: countdown-timer Keywords:
Cc:

Description

http://wordpress.org/support/topic/countdown-timer-leading-zeros-option?replies=1#post-1922666

I would like to use leading zeros for single-digit numbers.

Example:

Instead of

4 Days, 6 Hours, 3 Mins, 2 Secs

04 Days, 06 Hours, 03 Mins, 02 Secs

Basically a stylistic thing... Here is a slice from my design comp that illustrates why I want this functionality.

http://dl.dropbox.com/u/174189/countdown.jpg

Thanks!

Attachments (1)

countdown.jpg (13.1 KB) - added by fergbrain 3 years ago.

Download all attachments as: .zip

Change History (2)

fergbrain3 years ago

comment:1 fergbrain3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Implemented in change set 352817

Given as a new option:
"Zero pad (e.g. "05 minutes" instead of "5 minutes" units of time (expect for years): Yes :: No"

Note: See TracTickets for help on using tickets.