Setting DateTime in Chrome results in wrong located time dsiplay

2 posts, 0 answers
  1. Timo
    Timo avatar
    5 posts
    Member since:
    Jan 2011

    Posted 13 Jul 2015 Link to this post


    there seems to be a difference in parsing date time in Chrome compared to other browsers.

    It can be reproduced using the Telerik dojo with the Kendo DateTimePicker API Example.

    When I modify the setValue function like this...

                var setValue = function () {
                       var date = new Date('2015-07-13T12:33:44');
    in Chrome the DateTime Picker shows "7/13/2015 2:33 PM"

    When doing the same with IE or Firefox, I'll get "7/13/2015 12:33 PM".


    The date time format is what I get from the database. So I need to make this work anyhow.

    Any ideas?







  2. Kiril Nikolov
    Kiril Nikolov avatar
    2543 posts

    Posted 15 Jul 2015 Link to this post

    Hello Timo,


    It is a bug in the Google Chrome implementation. We do have a solution though :)


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