Topic: pickadate formatSubmit
motecl free asked 6 years ago
I have the problem when I try to submit a date on my proyect the atribute doesnt convert in 'yyyy/mm/dd' it shows me this way 28 Ago, 2018 I try to convert with PHP and it did not work
HTML
<input placeholder="Selected date" type="text" id="date-picker-example" name="fecha_solicitud" class="form-control datepicker"> $('.datepicker').pickadate({
monthsFull: ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'],
weekdaysShort: ['Dom', 'Lun', 'Mar', 'Mr', 'Jue', 'Vie', 'Sab'],
today: 'hoy',
clear: 'limpiar',
formatSubmit: 'yyyy/mm/dd',
hiddenPrefix: 'prefix__',
hiddenSuffix: '__suffix'
});
the monthsFull and weekdaysShort work great
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Opened
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags
Piotr Glejzer staff commented 6 years ago
Datepicker is a premium component, and according to our system, you use MDB Free version. Please, provide us a number o your order or registered email to confirm your access to MDB Pro components and premium support. Send it to me on email: p.glejzer@mdbootstrap.com Best, Piotr