Title: Plugin doesn`t work when Datetime format is changed
Last modified: October 15, 2024

---

# Plugin doesn`t work when Datetime format is changed

 *  Resolved [tomtom3000](https://wordpress.org/support/users/tomtom3000/)
 * (@tomtom3000)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-when-datetime-format-is-changed/)
 * Hello, your plugin only works with the datetime format yyyy/mm/dd which is the
   default time format for the elementor date form field. But in europe we use dd/
   mm/yyyy. With that datetime format your plugin doesn`t work anymore. Probably
   because the min and max values are based on the american datetime format. Once
   i disable the changed Datetime, your plugin works perfectly. Can you fix this
   and make your plugin also work with the europe datetime format dd/mm/yyyy. Would
   be very helpful.
 * Thank you, Thomas
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-doesnt-work-when-datetime-format-is-changed%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [addonpro](https://wordpress.org/support/users/addonpro/)
 * (@addonpro)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-when-datetime-format-is-changed/#post-18075538)
 * Hello,
 * I tested my site and it works fine.
 * Can you send a support ticket: [https://add-ons.org/supports/](https://add-ons.org/supports/)
   and we will check and fix it.
 * Thank you
 *  Thread Starter [tomtom3000](https://wordpress.org/support/users/tomtom3000/)
 * (@tomtom3000)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-when-datetime-format-is-changed/#post-18077427)
 * Ok i did. How can it be working for you? And how did you changed the date format?
 * I use this JS code:
 * <script>window.addEventListener(‘DOMContentLoaded’, function() {
    jQuery(document).
   ready(function($){ setTimeout(function(){ $(‘.flatpickr-input’).each(function(){
   flatpickr( $(this)[0] ).set(‘dateFormat’, ‘d/m/Y’);}); }, 1000 ); });});</script
   >
 *  Plugin Author [addonpro](https://wordpress.org/support/users/addonpro/)
 * (@addonpro)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-when-datetime-format-is-changed/#post-18078162)
 * Hi,
 * You can change it in field options: [https://tinyurl.com/294wsprn](https://tinyurl.com/294wsprn)
 * Thank you
 *  Thread Starter [tomtom3000](https://wordpress.org/support/users/tomtom3000/)
 * (@tomtom3000)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-when-datetime-format-is-changed/#post-18078394)
 * Ok true i didn`t know that there is this “Restrict date” field too.
 * But why is the calender formated so strange?
 * Any change on how to get it formatted like the other calender? Check out my Screenshots
 * [https://www.awesomescreenshot.com/image/51129028?key=69229ea26fa5b9a4267bb5abf944c92a](https://www.awesomescreenshot.com/image/51129028?key=69229ea26fa5b9a4267bb5abf944c92a)
 * [https://www.awesomescreenshot.com/image/51129027?key=a74b6832c154719da7ebadbd652b0756](https://www.awesomescreenshot.com/image/51129027?key=a74b6832c154719da7ebadbd652b0756)
 *  Plugin Author [addonpro](https://wordpress.org/support/users/addonpro/)
 * (@addonpro)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-when-datetime-format-is-changed/#post-18083698)
 * Hi,
 * We use datepicker library ( [https://jqueryui.com/datepicker/](https://jqueryui.com/datepicker/))
 * You can find a style for the library.
 * Thank you

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Plugin doesn`t work when Datetime format is changed’ is closed to new
replies.

 * ![](https://ps.w.org/restrict-date-for-elementor-forms/assets/icon-256x256.gif?
   rev=3382687)
 * [Advanced Datepicker - Restrict Date for Elementor Forms](https://wordpress.org/plugins/restrict-date-for-elementor-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restrict-date-for-elementor-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restrict-date-for-elementor-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/restrict-date-for-elementor-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restrict-date-for-elementor-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restrict-date-for-elementor-forms/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [addonpro](https://wordpress.org/support/users/addonpro/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-when-datetime-format-is-changed/#post-18083698)
 * Status: resolved