Correction of a bug with JQuery date picker (a java date format was used instead of a JQuery date format).