Forums

 
ForumForumMainstream Foru...Mainstream Foru...General Discuss...General Discuss...Problem with time format (HH:mm) in calls editingProblem with time format (HH:mm) in calls editing
Previous Previous
 
Next Next
New Post
 12/18/2009 9:41 AM
 
 Modified By Julius Marozas  on 12/18/2009 10:50:59 AM

I'm using time format HH:mm, where hours should be from 00 to 23. In calls edit form there is start date field with "date time picker". In hours dropdown i got values from 01 to 12 (not 00 to 23) and in field AM/PM i got nothing. How i could add more values for that hours field or this should be done automatically? Now there is not possible to set time after 12.

In call view, time format is shown how it should. How i can solve this problem?

In terminolgy i did  not find any lists related with that date time picker field. 

Version 4.5.0 Build 4.0.3580.14035

Language - Lithuania

-------------------

Solved. I have made precompile of site and i got there all needed values in huors field.

New Post
 12/18/2009 10:06 AM
 

That is a strange error.  Would it be possible to have you debug this for us as it is difficult for us to reproduce?  We did the quick change to HH:mm on our test system but got the expected 23 hour dropdown.

The place to look for the problem is in ~/_controls/DateTimePicker.ascx.cs.  Around line 162, we get the time format string and look for "tt" as the meridiem indicator.  If it exists, then we assume a 12 hour clock.

 

Previous Previous
 
Next Next
ForumForumMainstream Foru...Mainstream Foru...General Discuss...General Discuss...Problem with time format (HH:mm) in calls editingProblem with time format (HH:mm) in calls editing