Skip to content

KDatePicker: Fix parsing date from line edit on Enter press

DatePickerValidator accepts dates in three formats, but KDatePicker::lineEnterPressed() parses them as locale().dateFormat() which can be different from the most convenient for input QLocale::ShortFormat.

Use the date already parsed in DatePickerValidator and thus accept date input in all supported formats.

Merge request reports