Error french date rendering in schedule

Hello,
I'm trying to use the schedule controle in my multilingue asp.net application (net 4.5).
I manage to localize and globilize the controle.

When i send data from code behind in french no result in schedule.
Same test in eng got result in schedule.

I suspect that the control try to convert the 25/09/2018 in 09/25/2018 even when i set the locale property to "fr-FR".

See images (can't set them in the message diectly).
Please help.

Regards


Attachment: Images_Schedule_3ab5b305.zip

6 Replies

NA Nabran replied to Nabran Aboubacar September 25, 2018 08:47 AM UTC

Hello,
I'm trying to use the schedule controle in my multilingue asp.net application (net 4.5).
I manage to localize and globilize the controle.

When i send data from code behind in french no result in schedule.
Same test in eng got result in schedule.

I suspect that the control try to convert the 25/09/2018 in 09/25/2018 even when i set the locale property to "fr-FR".

See images (can't set them in the message diectly).
Please help.

Regards


Attachment: Images_Schedule_3ab5b305.zip

Up please urgent.

Do i have to pass dates in MM/dd/yyyy format even if culture is set to Fr?

Thx for any advice.
I'm stuck.


VD Vinitha Devi Murugan Syncfusion Team September 25, 2018 04:24 PM UTC

Hi Nabran,  
 
Thanks for contacting Syncfusion Support. 
 
On validating based on the shared images, we suspect that the reason for the reported problem is while retrieving and binding the appointment data with “dd/MM/yyyy” format. In the client-side, when the date with “dd/MM/yyyy” format is processed by new Date(), the invalid date conversion happens and to get rid of this problem, we suggest you to make manual date conversion at server-side code behind from the “dd/MM/yyyy” format to “MM/dd/yyyy” format before binding it to the scheduler dataSource. Otherwise, the date conversion might result in incorrect date time values misplacing date and month values in the dates. 
 
Regards,   
M. Vinitha devi. 



NA Nabran September 25, 2018 09:12 PM UTC

Thx
I figure it out, it works when formating dates before beding.
Strange,but ok, dates need to be in "mm/dd/yyyy even with a localaized control.

Thx for ur help.



AA Arulraj A Syncfusion Team September 26, 2018 11:21 AM UTC

Hi Nabran, 
 
Thanks for your update. 
 
Our last update was a workaround to overcome the reported problem and we will consider your requirement as an improvement and provide this change in 2018 Volume 3 SP1 release. 
 
Please let us know if you need any further assistance on this. 
 
Arulraj A 



NA Nabran September 26, 2018 01:03 PM UTC

Thx Arulraj ,

I'm glad to have answers to my question.
I manage to handle it manually.
Will be waiting and try the update later.

This thread can be closed.


AA Arulraj A Syncfusion Team September 27, 2018 12:14 PM UTC

Hi Nabran, 

Thanks for the update. 

We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you. 

Regards, 
Arulraj A 


Loader.
Up arrow icon