Hi,
I have successfully changed the date/time formats used throughout my app (including Telerik controls) by using the following lines:
Thread.CurrentThread.CurrentCulture = (CultureInfo)Thread.CurrentThread.CurrentCulture.Clone();
Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern = "yyyy-MM-dd";
Thread.CurrentThread.CurrentCulture.DateTimeFormat.LongDatePattern = "yyyy-MM-dd";
Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortTimePattern = "HH:mm";
Thread.CurrentThread.CurrentCulture.DateTimeFormat.LongTimePattern = "HH:mm:ss";
However, there is still one instance where the ScheduleView stubbornly refuses to use my formats: when I click on an appoinment's edge and hold the mouse button to resize the appointment, previews are shown for both the start time and end time, but those previews use the AM/PM format. Is there a way to change that ?
Thanks,
Sebastien
I have successfully changed the date/time formats used throughout my app (including Telerik controls) by using the following lines:
Thread.CurrentThread.CurrentCulture = (CultureInfo)Thread.CurrentThread.CurrentCulture.Clone();
Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern = "yyyy-MM-dd";
Thread.CurrentThread.CurrentCulture.DateTimeFormat.LongDatePattern = "yyyy-MM-dd";
Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortTimePattern = "HH:mm";
Thread.CurrentThread.CurrentCulture.DateTimeFormat.LongTimePattern = "HH:mm:ss";
However, there is still one instance where the ScheduleView stubbornly refuses to use my formats: when I click on an appoinment's edge and hold the mouse button to resize the appointment, previews are shown for both the start time and end time, but those previews use the AM/PM format. Is there a way to change that ?
Thanks,
Sebastien