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

[Solved] DateTimePicker in Editor Template shows duplicate times

0 Answers 16 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jamin
Top achievements
Rank 1
Jamin asked on 21 Mar 2012, 07:15 PM
I have a DateTimePicker in an editor template shown below. 

 

 

<%= Html.Telerik().DateTimePicker()
        .Name(ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty))
        .HtmlAttributes(new { id = ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty) + "_wrapper" })
        .Value(Model > DateTime.MinValue? Model : DateTime.Now)
%>


When the current day is the starting day of Daylight Savings Time, the time picker portion to shows repeating repeating 1:00 AM and 1:30 AM times. 

Example:

12:00 AM
12:30 AM
1:00 AM
1:30 AM
1:00 AM
1:30 AM
1:00 AM
1:30 AM
1:00 AM
1:30 AM
1:00 AM
1:30 AM

This issues only happens on the starting day of DST.  I can reset my system time back to 3/11/2012 and repeat this behavior.  All other days work perfectly. 

This behavior can be seen in all browsers.  We are currently using version 2011.2.712.0 of telerik controls for MVC.

Is this a known issue?  Is there a work around?

Tags
Date/Time Pickers
Asked by
Jamin
Top achievements
Rank 1
Share this question
or