WordPress.org

Ready to get started?Download WordPress

Forums

Countdown Timer
[resolved] - Leading Zeros Option? (3 posts)

  1. bborman
    Member
    Posted 3 years ago #

    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!

  2. fergbrain
    Member
    Plugin Author

    Posted 3 years ago #

    @bborman

    There currently is not functionality for this. However, I don't think it's too complex to include and it does make sense. I'll see if I can include this in the next version.

    See: http://plugins.trac.wordpress.org/ticket/1274

  3. fergbrain
    Member
    Plugin Author

    Posted 3 years ago #

    Implemented in change set 352817...will be in the next released version.

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic