-
Notifications
You must be signed in to change notification settings - Fork 902
Open
Description
Error location
DateTimeParser.cs
private static string ComputeDateTimeString( string dateTime, string format, DateTime currentDate, CultureInfo cultureInfo, bool autoClipTimeParts )
//Has error here.
string millisecondsPart = currentDate.Millisecond.ToString();
Case
If picker has dateTime value like this '28.04.2025 16:26:16.080'
millisecondsPart = "80";
We have lost leading 0.
in the end we have a result like this '28.04.2025 16:26:16.80'
'28.04.2025 16:26:16.80' == '28.04.2025 16:26:16.800'
'28.04.2025 16:26:16.80' != '28.04.2025 16:26:16.080'
Summary
Control lost focus and value changed.
Metadata
Metadata
Assignees
Labels
No labels