mailchimp-for-wordpress icon indicating copy to clipboard operation
mailchimp-for-wordpress copied to clipboard

Improved datepicker, since HTML datepicker is super inconsistent.

Open dannyvankooten opened this issue 10 years ago • 3 comments

One that allows you to set a preferred date format.

dannyvankooten avatar Aug 21 '15 04:08 dannyvankooten

Pikaday looks very neat for this, and has no further dependencies.

dannyvankooten avatar Aug 27 '15 04:08 dannyvankooten

On a sidenote, Pikaday does require Moment.js, an additional 12.4kb dependency when custom date formats are required.

We could only load this when the field has some kind of data-format attribute.

Example

<input type="date" data-format="YYYY/MM/DD" />

dannyvankooten avatar Aug 27 '15 05:08 dannyvankooten

Any update on datepicker with custom date format? Mailchimp birthday field is DD/MM or MM/DD.

yaniv691 avatar Oct 20 '18 19:10 yaniv691