LSformElement_date : Fixed parsing date problem with some formats

This commit is contained in:
Benjamin Renard 2011-06-24 17:32:38 +02:00
parent c48c0c3bd8
commit 0c404082fd

View file

@ -26,6 +26,7 @@ var LSformElement_date_field = new Class({
this.params.format = "%d/%m/%Y";
}
}
Date.defineParser(this.params.format);
this.calendar = new DatePicker(this.input, {
format: this.params.format,