close #256
This commit is contained in:
1 parent
f4bada6453
commit
ff603547b3
1 file changed
+5
@@ -622,6 +622,11 @@ namespace HandyControl.Controls
|
|||||||
|
|
||||||
if (SelectedDateTime != null)
|
if (SelectedDateTime != null)
|
||||||
{
|
{
|
||||||
|
if (SelectedDateTime != DisplayDateTime)
|
||||||
|
{
|
||||||
|
SetCurrentValue(DisplayDateTimeProperty, SelectedDateTime);
|
||||||
|
}
|
||||||
|
|
||||||
var selectedTime = DateTimeToString(SelectedDateTime.Value);
|
var selectedTime = DateTimeToString(SelectedDateTime.Value);
|
||||||
|
|
||||||
if (string.Compare(selectedTime, s, StringComparison.Ordinal) == 0)
|
if (string.Compare(selectedTime, s, StringComparison.Ordinal) == 0)
|
||||||
|
|||||||
Reference in new issue
Block a user