Title: Date Format Fix
Last modified: September 27, 2017

---

# Date Format Fix

 *  [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * (@bonaldi)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/date-format-fix/)
 * Hi,
 * Takayuki Miyoshi, the author of this plugin doesn’t seems to be really concerned
   by date formats problems… So many unsolved questions about it on forums.
 * The problem is that CF7 force datepicker format to yy-mm-dd.
 * I modestly ask him if he could delete this line 117 in /includes/js/scripts.js,
   to let every datepicker with user default format… so we won’t have to fix it 
   on every update.
 * To delete: `dateFormat: 'yy-mm-dd',`
 * Regards.

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

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/date-format-fix/#post-9537466)
 * See [Date Field](https://contactform7.com/date-field/)
 *  Thread Starter [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * (@bonaldi)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/date-format-fix/#post-9538956)
 * Hi Takayuki Miyoshi,
    You put this answer whenever you talk about the date formats.
   It’s insufficient as a response … Why do you put dateformat: ‘yy-mm-dd’ in scripts.
   js ? With `add_filter( 'wpcf7_support_html5_fallback', '__return_true' );`, the
   datepicker is active on Firefox, but input date field is filled with yy-mm-dd
   format. If you delete line 117 in scripts.js, it will be filled with user default
   format (dd-mm-yy in my case). Or tell us how to change the datepicker format…
   from yy-mm-dd to dd-mm-yy. Hope your answer will be more developed. Regards.

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

The topic ‘Date Format Fix’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/date-format-fix/#post-9538956)
 * Status: not a support question