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

Localization Problems

1 Answer 46 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
ManniAT
Top achievements
Rank 2
ManniAT asked on 02 Jul 2014, 11:21 AM
Hi,

while the DateTimePicker (when adding a new Appointment) works as expected the RadScheduleView itself has several "strange" behaviors.
First - Hours are displayed in 12h format (without AM / PM marker) not in 24 hour format as set by the OS (and used by the DateTimePicker).

Next - in Timeline the Date separator is a minus sign instead of a dot.
So it shows (in correct order day month year)  03-07-2014 instead of 3.7.2014 or at least 03.07.2014.

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 04 Jul 2014, 12:30 PM
Hello Manfred,

I'll go straight to your questions:

1. The time is displayed in the following format by default - h:mm tt. However you can easily make ti showing the operation system format by setting the TimerulerMajorTickStringFormat property of the ViewDefition as shown below:
<telerik:DayViewDefinition TimerulerMajorTickStringFormat="{}{0:t}" />

2. The same for Timeline date format - it has a default value of dd-MM-yyyy. You could you easily apply the needed one by setting TimerulerGroupStringFormat property of the TimelineViewDefinition as shown below:
<telerik:TimelineViewDefinition TimerulerGroupStringFormat="{}{0:dd.MM.yyyy}" />

Hope this helps.

Regards,
Kalin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
ScheduleView
Asked by
ManniAT
Top achievements
Rank 2
Answers by
Kalin
Telerik team
Share this question
or