Merge pull request #679 from ghost1372/patch-2

Update DateTimePicker.cs Fix #661
This commit is contained in:
NaBian authored and GitHub committed 2021-02-23 23:05:29 +08:00
commit b6be4a6fc8
1 file changed
+2
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
@@ -81,6 +82,7 @@ namespace HandyControl.Controls
public DateTimePicker()
{
Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
InitCalendarWithClock();
CommandBindings.Add(new CommandBinding(ControlCommands.Clear, (s, e) =>
{