DateTimePicker with enabled DateInput does not display "ddd" format specifier correctly #7696
Labels
Bug
C: DateInput
C: DatePicker
C: DateTimePicker
FP: Completed
Sync status with associated Feedback Item
jQuery
Regression
Broken functionality which was working previously
SEV: Medium
Milestone
Bug report
When the dateInput option is enabled and the format contains the "ddd" format specifier, the DateTimePicker does not display the date format correctly. Also, when a date is selected, the formatting contains "undefined".
Reproduction of the problem
Define a DateTimePicker with enabled "dateInput" and format equals to "ddd dd/MM/yyyy HH:mm".
The format is not correct. When you select a date it is not formatted correctly.
The issue occurs when using the DatePicker, as well.
The last working version is 2023.1.425.
Also, when the "dateInput" is disabled, the date format is displayed as expected.
A Dojo sample for reproduction: https://dojo.telerik.com/oxipADUL
Expected/desired behavior
The date format must be "day of the week day/month/year hours:minutes" (for example, "Wed 24/01/2024 01:00").
Environment
The text was updated successfully, but these errors were encountered: