Although i set the culture to germany [ kendo.culture("de-DE") ] the format of the datetime is not correct, it is still default "en-US".
I have to set additionally the format like this
[Javascript]
or this
[Razor]
The format/values of date and time in both dropdowns of the datetimepicker are correct, only the format in the input field is wrong.
But the format of time-values in the dropdownlist of a normal timepicker is not correct too, it is not like the format of the current culture, it is still default "en-US" but without "AM" & "PM".
List of format failure:
Culture set to "de-DE"
DateTimePicker:
format of values (date&time) in the inputfield: wrong
format of date in dropdown: correct
format of time in dropdown: correct
TimePicker:
format of values in the inputfield: wrong
format of time in dropdown: wrong
DatePicker:
format of values in the inputfield: wrong
format of date in dropdown: correct
I have to set additionally the format like this
[Javascript]
jQuery(function(){jQuery("\#start").kendoDateTimePicker({format:kendo.culture().calendar.patterns.g,min:new Date(1899,11,31,0,0,0,0),max:new Date(2100,0,1,0,0,0,0),interval:30});});or this
[Razor]
@(Html.Kendo().DateTimePicker() .Name("start") .Format("dd.MM.yyyy HH:mm") .Value(DateTime.Now) )The format/values of date and time in both dropdowns of the datetimepicker are correct, only the format in the input field is wrong.
But the format of time-values in the dropdownlist of a normal timepicker is not correct too, it is not like the format of the current culture, it is still default "en-US" but without "AM" & "PM".
List of format failure:
Culture set to "de-DE"
DateTimePicker:
format of values (date&time) in the inputfield: wrong
format of date in dropdown: correct
format of time in dropdown: correct
TimePicker:
format of values in the inputfield: wrong
format of time in dropdown: wrong
DatePicker:
format of values in the inputfield: wrong
format of date in dropdown: correct