You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method Reflection.SetNauAttributes() fails on my windows machine that is set to German if I try to read a file date from the XML to set the property of a FileDateCondition.
The date of the example file SampleUpdateFeed.xml, i.e. 20091010T000000 is not parsed correctly.
I made a fix in my fork that uses the InvariantCulture from System.Globalizationfor the TryParse() call and adds a layer that tries to parse the above format explicitly.
Well, the date format yyyyMMdd\\THHmmss seems to only work for your culture settings. May I ask what culture setting in your OS you use and if you customized your date display format? It doesn't work with the InvariantCulture culture setting and I also couldn't get it to work using en-US.
One thing we could also do is try parsing the date string using the specific culture that you use on your machine. That way it would work without having to provide that "magic" format string.
The method
Reflection.SetNauAttributes()
fails on my windows machine that is set to German if I try to read a file date from the XML to set the property of aFileDateCondition
.The date of the example file
SampleUpdateFeed.xml
, i.e.20091010T000000
is not parsed correctly.I made a fix in my fork that uses the
InvariantCulture
fromSystem.Globalization
for theTryParse()
call and adds a layer that tries to parse the above format explicitly.Maybe you could have a look at my fix and possibly do a cherry-pick: sonntam/NAppUpdate@33f7b8c
The text was updated successfully, but these errors were encountered: