DataPicker - ошибка в формате
Доброе утро.
Столкнулся с ошибкой "jquery-1.10.2.min.js:4 The specified value "2018-06-Th" does not conform to the required format, "yyyy-MM-dd"." Активирую datapicker пробовал и так и сяк - YYYY-MM-DD Не получается. <input type="date" id="datetimepickerplan" class="form-control" style="border-radius: 0;"/>
$('#datetimepickerplan').datetimepicker({
locale: 'ru',
format : 'DD.MM.GGGG'
//dateFormat: 'dd-M-yy'
});
|
Цитата:
|
Castromen,
может вы хотели так format: 'Y-m-d' |
Цитата:
The specified value "2018-29-4" does not conform to the required format, "yyyy-MM-dd". |
input type=date попробуйте заменить на text.
|
Castromen,
не понимаю |
Может быть проблема из за символа GGGG в формате?
Год ведь указывается как YYYY |
| Часовой пояс GMT +3, время: 18:29. |