Support » Plugin: WC Fields Factory » Datepicker inline placement and 12 hour am/pm time format

  • Hi. Your plugin is very nice, but I didn’t find any information about how to change 24 hour time format to 12 hour am/pm. And also, is there a way to use an inline datepicker instead of popup style? The reason i am asking about inline style is, when you click on the date field, the datepicker pops up and if you didn’t choose anything in it and accidentally click somewhere else, it’s very difficult to make it popup again. You have to click on the page couple times, before you can open the datepicker for that field again. Thank you. There is a home page with Contact Form 7 plugin on my web site, everything is I am asking is working on that page. And, on the “Order and Pay Online” page is a WooCommerce product, that I want to use the same field types.

Viewing 4 replies - 1 through 4 (of 4 total)
  • And I have another question… Is there a way to set the Datepicker to only show time in it?

    @kmv0774 have you or anyone else found a resolution to the 24 hour clock issue? The date and time picker seems like a great feature, however your average person has no idea what time 13+ is… You can find a time converter online or take a minute to figure it out yourself however most potential customers aren’t going to take the time to figure this out. So the time picker is basically useless if it can’t be set to a standard 12 hour clock.

    I had hoped that my WordPress site was set to a 24 hour clock and that is why the plugin was doing this, however when I checked this was not the case. I have tried emailing the plugin author and am waiting to see if there is a reply. In the meantime I am looking through the plugin files to see if I can find the fix myself. So far I have yet to find anything. I will post if I find a resolution.

    Plugin Author Saravana Kumar K


    Hi all, sorry for the delayed response. for quick solution please edit the following file to switch to the 12 hours format. go to wc-fields-factory/classes/fields/wcff-datepicker.php LN : 475

    and replace the line with the following

    $(this).datetimepicker( {
         timeFormat: 'hh:mm: TT',
         ampm: true,

    I will include this feature as an option in the feature release.


    Just tested it out and it works. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Datepicker inline placement and 12 hour am/pm time format’ is closed to new replies.