Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > TimePicker > How does the parsing of a directly entered time work?

Not answered How does the parsing of a directly entered time work?

Feed from this thread
  • Bettina avatar

    Posted on Sep 20, 2011 (permalink)

    Hi,

    the user wants to enter the time directly in a RadTimePicker.
    If he enters "00:59" everything is fine. But if he uses "0059" instead, the result is "05:09".
    That's surprising and not reasonable for the user.

    Other examples for this behaviour are:
    "0201" => "20:01"
    "0022" => "22:00"

    Is there any reason for this behaviour?

    Thanks for your help.
    Kind Regards
        Bettina 

    Reply

  • Konstantina Konstantina admin's avatar

    Posted on Sep 23, 2011 (permalink)

    Hi Bettina,

    This behaviour is by design and the logic is that the entered number is transformed to fit best for the 24 hour format. But the visualization is according to the culture of the computer.
    I can suggest you to implement custom time parsing to fit your requirements. You can find more information in this help article.

    Hope this helps.

    Kind regards,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > TimePicker > How does the parsing of a directly entered time work?
Related resources for "How does the parsing of a directly entered time work?"

WPF TimePicker Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]