engineer9090909090909090 / jquery-datepicker

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

Changing date format cancels out startDate parameter #246

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Date.format = 'yyyy-mm-dd';
$(function () {
    $(".datepicker").datePicker({ startDate: '01/01/1996' });
});

What is the expected output? What do you see instead?
I expect the date to be in yyyy-mm-dd format and have the ability to select 
dates before today.  The dates ARE in yyyy-mm-dd format, but I cannot select 
dates before today.

Please provide a URL to a page displaying the problem.
M/A

What version of the datepicker are you using? On what operating system? And 
Which Browser?
DatePicker v2, 102 2010-09-13 14:00:54Z
Windows 7, Firefox v3.6.10

Please provide any additional information below.

Original issue reported on code.google.com by morfi...@gmail.com on 18 Oct 2010 at 6:07

GoogleCodeExporter commented 8 years ago
You need to set the startDate in the same format you have just set it to.

e.g. startDate: '1996-01-01'

Original comment by kelvin.l...@gmail.com on 18 Oct 2010 at 6:08