Support » Plugin: Timetable and Event Schedule by MotoPress » Use WordPress admin setting for Date Display

  • Currently, the datepickers in mp-timetable are formatted as dd/mm/yyyy. This is an ambiguous format in some locales, because it conflicts with the American standard of mm/dd/yyyy. Ideally, this field should be locale-aware and format based on your blog settings, or for a more minimal solution, it should default to a locale-agnostic format, such as yyyy-mm-dd.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author MotoPress

    (@motopress)

    Hi @gschoppe,
    Thank you for your note however we’d appreciate if you indicate exact place where that format is used? Do you mean date picker when selecting a date for Column Date type?

    The column Date type is the place that I noticed the issue, but if you are using a datepicker anywhere else in the plugin, it would also be an issue there.

    Plugin Author MotoPress

    (@motopress)

    Hi @gschoppe,
    Thank you. We’ll keep this in mind for further update—č. Currently you can go to \wp-content\plugins\mp-timetable\templates\column\ and edit metabox-column-options.php file replacing 'd/m/Y' with 'm/d/Y' or indicating any other format you need.

    That fix actually won’t work. Not only is editing the plugin files an issue, because it removes the ability to take updates without losing customizations, but just switching the output format won’t change the settings for jQuery UI Datepicker in your JavaScript, and won’t change the settings you use when you parse the saved date.

    Plugin Author MotoPress

    (@motopress)

    I’m sorry, yes it’s indicated in …/event.js file. We’ll do our best to make it more flexible in one of next updates. Thank you for your feedback.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Use WordPress admin setting for Date Display’ is closed to new replies.