Change Datepicker Format

Home Forums Calendar Products Community Events Change Datepicker Format

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #71493
    Jonah
    Participant

    Hey guys!

    I’m working on integrating Community Events for a client of mine and they’ve requested me to change the date format in the front end datepickers. For whatever reason, the WordPress date settings are not affecting these inputs and I’ve tried the code here: https://gist.github.com/ryanurban/6073260 but that doesn’t work either.

    Any ideas on how to change the date format to something other than yyyy-mm-dd?

    Many thanks!

    – Jonah

    #71516
    Casey
    Participant

    Jonah!
    Hey man! It looks like you’ll have to do a template override and change the classes on those datepicker input fields to use that Gist snippet.

    Otherwise the code from events-admin.js is basically overriding the JS from this gist.

    Something like this should work after doing an override of ‘views/modules/datepickers.php’: https://gist.github.com/ckpicker/7030311

    #981457
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Change Datepicker Format’ is closed to new replies.