Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String was not recognized as a valid DateTime in MainWindow.xaml.cs at line #300 #29

Open
siddharth96 opened this issue Aug 25, 2014 · 3 comments
Assignees
Milestone

Comments

@siddharth96
Copy link
Owner

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...
@siddharth96 siddharth96 added this to the v5.3 milestone Aug 25, 2014
@siddharth96 siddharth96 self-assigned this Aug 25, 2014
@siddharth96 siddharth96 modified the milestones: v5.3, v5.2.1 Dec 13, 2014
@swamy2712
Copy link

I'm also facing the similar issue. Is this issue fixed in v5.2.1? When this version will be released?
reply ASAP.

@siddharth96 siddharth96 modified the milestones: v5.3, v5.2.1, v5.4 Jan 2, 2015
@siddharth96 siddharth96 reopened this Jan 2, 2015
@siddharth96
Copy link
Owner Author

@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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants