jQuery UI DatePicker - Change Date Format

前端 未结 28 1807
后悔当初
后悔当初 2020-11-21 16:39

I am using the UI DatePicker from jQuery UI as the stand alone picker. I have this code:

And the

28条回答
  •  盖世英雄少女心
    2020-11-21 17:09

    So I struggled with this and thought I was going mad, the thing is bootstrap datepicker was being implemented not jQuery so teh options were different;

    $('.dateInput').datepicker({  format: 'dd/mm/yyyy'})
    

提交回复
热议问题