Hi,
When creating/editing an event in scheduler the two datetimepickers for start and end datetime default to en-UK formating.
I know how to change this if you have a datetimepicker ....
<
input
id
=
"datetimepicker"
/>
<
script
>
$("#datetimepicker").kendoDateTimePicker({
culture: "de-DE"
});
</
script
>
So I tried this in the schema section of the scheduler...
schema: {
model: {
id: "taskId",
fields: {
taskId: { from: "TaskID", type: "number" },
title: { from: "Title", validation: { required: true } },
start: { from: "Start", type: "date", culture: "en-GB" },
end: { from: "End", type: "date", culture: "en-GB" },
startTimezone: { from: "StartTimezone" },
endTimezone: { from: "EndTimezone" },
isAllDay: { from: "IsAllDay", type: "boolean", defaultValue: false },
isOOH: { from: "IsOOH", type: "boolean", defaultValue: false },
description: { from: "Description" },
recurrenceId: { from: "RecurrenceID" },
recurrenceRule: { from: "RecurrenceRule" },
recurrenceException: { from: "RecurrenceException" },
team: { from: "Team", validation: { required: true } },
assignee: { from: "Assignee", validation: { required: true } }
}
},
but it does not seem to work. I have added a reference to