This is a migrated thread and some comments may be shown as answers.

Date format for cultures does not respect the local format

1 Answer 288 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
shaneed
Top achievements
Rank 1
shaneed asked on 09 Jun 2014, 07:01 AM
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?

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 11 Jun 2014, 09:14 AM
Hello,

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.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Calendar
Asked by
shaneed
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or