Permalink
Browse files

Merge pull request #428 from silverstripe-scienceninjas/datefield-cal…

…endar

BUGFIX: DateField with calender do not format the date correctly after it's picked from the calendar.
  • Loading branch information...
2 parents 2753744 + a5355a7 commit 8e1aae35dea58ae7187d484c0605d93c3f7d502f @chillu chillu committed May 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascript/DateField.js
View
@@ -20,7 +20,7 @@
// Initialize and open a datepicker
// live() doesn't have "onmatch", and jQuery.entwine is a bit too heavyweight for this, so we need to do this onclick.
- config.dateFormat = config.jqueryDateformat;
+ config.dateFormat = config.jquerydateformat;
$(this).datepicker(config);
});
}

0 comments on commit 8e1aae3

Please sign in to comment.