WordPress.org

Ready to get started?Download WordPress

Forums

Meta Box
Advanced formatting options for TIME PICKER not available? (7 posts)

  1. Shaun Brown
    Member
    Posted 1 year ago #

    Im trying to change the controlType to select instead but it seems to be disabled....additionally, I would like to be able to show the time with the am/pm names yet when added like so hh:mm tt nothing seems to happen - is there a way to accomplish this with your plugin? Otherwise it seems using a textarea instead is my only option.

    Thanks,
    Shaun

    http://wordpress.org/extend/plugins/meta-box/

  2. Cliff Seal
    Member
    Posted 1 year ago #

    I noticed this as well. Strangely, it seems to only have to do with the am/pm stuff, as I can change the formatting around to include seconds, milliseconds, etc.

  3. Cliff Seal
    Member
    Posted 1 year ago #

    Scratch that, found the solution.

    You need to add an 'ampm' argument, so, it's:

    'timeFormat' => 'hh:mm TT',
    'ampm' => true,
  4. Shaun Brown
    Member
    Posted 1 year ago #

    Hey wudduyah know!? Thanks for that!
    Any idea if theres another argument that can be passed to enable the controlType to be select instead as well??

    Thanks again for the tip!

  5. Cliff Seal
    Member
    Posted 1 year ago #

    Awesome. I'm not sure on the rest as following the actual Timepicker docs seems iffy.

  6. Shaun Brown
    Member
    Posted 1 year ago #

    I noticed that...Not sure why certain options appear to be unavailable, kinda weird.

  7. cgrella
    Member
    Posted 1 year ago #

    That am/pm thing jammed me up too.

    You can find some pretty good formatting options here:
    http://trentrichardson.com/examples/timepicker/#tp-formatting

    There are other links to other format box options too.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.