rakeshpatel2009 / jquery-datepicker

Automatically exported from code.google.com/p/jquery-datepicker
0 stars 0 forks source link

date format in jquery #354

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I am developing an application with a jquery.ui. datepicker in asp.net mvc3.I 
had set date format as dd/mm/yyyy ,but i changed my system date format.
After that it is effecting the datepicker.The calender dates are loading 
default with 2018 date.

My system os is-windows 7
plugin version -jquery-ui-1.8.11.js

Code for datepicker:

$("#StartDate,#EndDate").datepicker({
                defaultDate: "+1w",
                changeMonth: true,
                numberOfMonths: 1,
                setDate: new Date(),
dateFormat:'mm/dd/yyyy'
                });

Original issue reported on code.google.com by maheswar...@gmail.com on 26 Jul 2012 at 9:50

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/jquery-datepicker/wiki/NotTheUIDatePicker

Original comment by kelvin.l...@gmail.com on 26 Jul 2012 at 10:10