idealdear / jquery-datepicker

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

date.js r72 breaks the 'mmmm' format. #331

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Using format of (mmmm dd, yyyy)

What is the expected output? What do you see instead?

Browser issues a null error on this line in date.js:  var res = result[i+1];

var dm = new RegExp(matcher);
var result = s.match(dm);
for (var i=0; i<order.length; i++) {
  var res = result[i+1];
  switch(order[i]) {
      case 'd':
    d.setDate(res);
    break;
<snip>

What version of the datepicker are you using? On what operating system? And 
Which Browser?
Windows XP IE8;  date.js r72; DatePicker 108

Please provide any additional information below.

Original issue reported on code.google.com by kevin_sk...@mgic.com on 1 Dec 2011 at 6:32