Problem with Timezones

2 posts, 0 answers
  1. Steve Mason
    Steve Mason avatar
    2 posts
    Member since:
    Jul 2008

    Posted 09 Nov 2015 Link to this post

    The PC I'm working on is set to Pacific timezone (America/Los_Angeles). I'm creating a Scheduler in Eastern timezone (America/New_York) and I have a change event setup where I output the value of e.start. If, for example, I click on a 1pm timeslot, I would expect the change event to output 1pm eastern time. It's not, it's outputting 1pm Pacific time. Am I missing something?


    Here's a small example based on one of the Kendo demos that shows the problem:

    <!DOCTYPE html>
        <meta charset="utf-8">
        <title>Kendo UI Snippet</title>
        <script src=""></script>
    <div id="scheduler"></div>
        date: new Date("2013/6/13"),
        timezone: "America/New_York",
        selectable: true,
        change: function (e) {
        dataSource: {
            batch: true,
            transport: {
                read: {
                    url: "",
                    dataType: "jsonp"
                update: {
                    url: "",
                    dataType: "jsonp"
                create: {
                    url: "",
                    dataType: "jsonp"
                destroy: {
                    url: "",
                    dataType: "jsonp"
                parameterMap: function(options, operation) {
                    if (operation !== "read" && options.models) {
                        return {models: kendo.stringify(options.models)};
            schema: {
                model: {
                    id: "ID",
                    fields: {
                        ID: { type: "number" },
                        title: { from: "Title", defaultValue: "No title", validation: { required: true } },
                        start: { type: "date", from: "Start" },
                        end: { type: "date", from: "End" },
                        description: { from: "Description" },
                        recurrenceId: { from: "RecurrenceID" },
                        recurrenceRule: { from: "RecurrenceRule" },
                        recurrenceException: { from: "RecurrenceException" },
                        ownerId: { from: "OwnerID", defaultValue: 1 },
                        isAllDay: { type: "boolean", from: "IsAllDay" }

  2. Vladimir Iliev
    Vladimir Iliev avatar
    2190 posts

    Posted 11 Nov 2015 Link to this post

    Hi Steve,

    I would suggest to check the following help article which contains more information about how the dates on the client side behaves:

    Vladimir Iliev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top