Invalid date error occurred when editing Date Time picker field

Summary

When I choose a date from the date picker, Issue Editor raises an error saying that date format is invalid.

Answer

Set the Date Picker and Date Time Picker to match the format in Jira (System > Look and feel and System > General configuration > Advanced Settings).

Example

System > Look and feel

Time Formath:mm a
Day FormatEEEE h:mm a
Complete Date/Time Formatdd/MMM/yy h:mm a
Day/Month/Year Formatdd/MMM/yy

System > General configuration > Advanced Settings

jira.date.picker.java.formatd/MMM/yy
jira.date.picker.javascript.format%e/%b/%y
jira.date.time.picker.java.formatdd/MMM/yy h:mm a
jira.date.time.picker.javascript.format%e/%b/%y %I:%M %p