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


    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:

  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=""></script>

    $(function() {
Back to Top