DatePicker not setting culture

2 posts, 0 answers
  1. Bilal
    Bilal avatar
    109 posts
    Member since:
    Oct 2014

    Posted 01 Apr 2015 Link to this post

    Hi,

    I am trying to change the culture used by the DatePicker from en-US to en-GB as I want my dates to be dd/MM/yyyy. However, it is not working.

    Here's a dojo:
    http://dojo.telerik.com/@bhaidar/iluvo

    Thanks
  2. Eric Kuijpers
    Eric Kuijpers avatar
    4 posts
    Member since:
    Apr 2014

    Posted 03 Apr 2015 in reply to Bilal Link to this post

    Running the dojo from Chrome(36) or IE 11 results in april 16th 2015 being displayed as 16/04/2015, which seems to be the desired result.

    Both however show the 'DatePicker1 is not a valid date' message. 

    Adding the following lines seem to correct this situation :

    <script src="http://cdn.kendostatic.com/2015.1.318/js/cultures/kendo.culture.en-GB.min.js"></script>

    $(function() {
           kendo.culture("en-GB");
  3. Kendo UI is VS 2017 Ready
Back to Top