Declined
Last Updated: 11 Aug 2016 14:05 by ADMIN
ADMIN
Telerik Admin
Created on: 03 Sep 2012 17:41
Category: MaskedInput
Type: Bug Report
5
MaskedInput: In a DateTimeMaskedInput with Mask=hh:mm tt, if the value starts with 1, the user can't enter a value starting with 0
In a DateTimeMaskedInput with Mask=hh:mm tt, if the value is 10:00, the user can't enter 04:00.
=============
Reason for decline: The pattern "hh:mm tt" cannot accept time of type "00:00". You can test this with DateTime.ToString() method which will return "12:00" if you give him time (0hours, 0 minutes) and pattern "hh:mm tt". When typing 0 in the begging of the MaskedDateTimeInput , the control automatically converts 00:00 to 12:00 which is expected.

Workaround: You can use Mask="HH:mm tt" or Mask="t".
0 comments