javascript - jQuery datepicker with German format -


i need change jquery datepicker formatting mm/dd/yyyy german style d mmmm yyyy.

i have tried code not work me.

   <script type="text/javascript">      $(function () {         $('.datepicker').datepicker();         $(".selector").datepicker({ dateformat: 'd-mmmm-yyyy });      });   </script> 

the date format shows , never change!

enter image description here

what wrong in code idea? thanks

german date format dd.mm.yyyy can use this

$(".selector").datepicker({ dateformat: 'dd.mm.yyyy' }); 

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -