We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Localisation problem on schedule

Hi,

I have a problem of localisation, time format, on week and day scheduleview.
I set the properties "local" to "fr" and the time format is 12 hours, AM/PM (l.e Attachment)

It's possible to have time format 24 hours ?

Thanks,

Romain ROUBAUD

Attachment: schedule_4411a872.zip

3 Replies

SP Subburaj Pandian Veluchamy Syncfusion Team September 15, 2017 11:20 AM UTC

Hi Romain, 
 
Thank you for contacting Syncfusion support. 
 
Yes, TimeFormat can be changed to 24 hours format using TimeFormat property of DayLabelSettings in Schedule DayViewSettings. Please refer the below code example, 
 
[c#] 
            DayLabelSettings dayLabelSettings = new DayLabelSettings();
            dayLabelSettings.TimeFormat = "HH:mm";
            DayViewSettings daySettings = new DayViewSettings();
            daySettings.DayLabelSettings = dayLabelSettings;
            schedule.DayViewSettings = daySettings; 
 
 
You can also refer our online user guide documentation regarding the same by the below link, 
 
 
As we mentioned in our UG documentation AM/PM will not be localized to all the locale, 
 
 
Regards, 
Subburaj Pandian V 



RO Romain September 15, 2017 12:51 PM UTC

Hi,

Thanks for your reply.

It's work perfectly

Romain



SP Subburaj Pandian Veluchamy Syncfusion Team September 18, 2017 05:52 AM UTC

Hi Romain,  
  
Thank you for the update, please let us know if you need any further assistance. 
  
Regards.
Subburaj Pandian V    


Loader.
Up arrow icon