String was not recognized as a valid DateTime in MainWindow.xaml.cs at line #300
siddharth96 opened this issue · 3 comments
siddharth96 commented
System.FormatException: String was not recognized as a valid DateTime. at
System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) at
Xceed.Wpf.Toolkit.DateTimeUpDown.<>c__DisplayClass11.<ParseValueIntoDateTimeInfo>b__10(DateTimeInfo info) at
System.Collections.Generic.List`1.ForEach(Action`1 action) at
Xceed.Wpf.Toolkit.DateTimeUpDown.OnValueChanged(Nullable`1 oldValue, Nullable`1 newValue) at
Xceed.Wpf.Toolkit.DateTimePicker.OnValueChanged(Nullable`1 oldValue, Nullable`1 newValue) at
Xceed.Wpf.Toolkit.Primitives.UpDownBase`1.OnValueChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) at
System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at
System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at
System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) at
System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) at
System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal) at
WindowsTweaker.MainWindow.LoadTab(String tagVal) in z:\codes\windows-tweaker\WindowsTweaker\MainWindow.xaml.cs:line 300 at
System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at
System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at
System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at
System.Windows.Controls.ListBox.OnSelectionChanged(SelectionChangedEventArgs e) at
System.Windows.Controls.Primitives.Selector.Selecti...
swamy2712 commented
I'm also facing the similar issue. Is this issue fixed in v5.2.1? When this version will be released?
reply ASAP.
siddharth96 commented
@swamy2712 , I'm not to reproduce this bug. If you're able to reproduce this, can you let me know why is it happening?
I've marked it for v5.4 (5.3 is already released), which will come in next two weeks.
swamy2712 commented
HI @siddharth96 Whenever the custom DateTime format is used (for ex dd/mm/yyyy hh:mm:tt).
Hope this is helpful for you to fix the problem.