Date format for cultures does not respect the local format

2 posts, 0 answers
  1. shaneed
    shaneed avatar
    15 posts
    Member since:
    Jun 2013

    Posted 09 Jun 2014 Link to this post

    The long date format on calendar for several cultures does not respect the local format.

    Cultures having problem are : zh-tw, ko-kr, ja-jp, pt-pt, pt-br, es-es, es-co, es-cl, fr-ca
    The expected behavior for different cultures are  as:
           For zh-tw/ko-kr/ja-jp markets, the "MM" are displayed in front of "YYYY" instead of displayed after "YYYY". 
           For pt-pt/pt-br/es-es/es-co/es-cl markets , lacked "de" between "MM" and "YYYY".
           For fr-ca market, lacked "," between "MM" and "YYYY".

    Is this the bug with Kendo? How can we fix this?
  2. Georgi Krustev
    Georgi Krustev avatar
    3689 posts

    Posted 11 Jun 2014 Link to this post


    Kendo cultures files are generated base on the Window 7's culture information. Some of the culture information could be outdated, like in the case with pt-PT, pt-BR, es-ES, es-CO, es-CL files, and we will update them. The updated files will be available in the next internal build of Kendo UI. For your convenience I have attached the updated culture scripts to this message. Just replace the files in the cultures folder.
    With regards to your other question related to the zh-TW, ko-KR, ja-JS, fr-CA cultures, calendar header uses culture format to render the Month-Year information and that is why the order of "MM" and "YYYY" specifiers is not culture specific, because there is no sufficient information about Month-Year positioning. I prepared a Kendo Scratchpad demo, which shows how to implement culture header format. Check it and let me know if something is not clear.

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