hi i've been experiencing this issue on both iOS and Android.
this line of code
var d = DateTime.ParseExact("1948-02-19T08:00:00+02:00", "yyyy-MM-ddTHH:mm:sszzz", null); //KO
return an error: year, Month, and Day parameters describe an un-representable DateTime.
But this error it's returned only for the year 1948, for any other year it works correctly:
the below line infact, works fine
var d1 = DateTime.ParseExact("1949-02-19T08:00:00+02:00", "yyyy-MM-ddTHH:mm:sszzz", null); //OK
I've spent a lot of time to figure out that the problem was like this because i received the same error in my soap based web services. Once investigated i determined that the error was raised only for the year 1948
To reproduce the issue it's enough you run the line of code above
What CultureInfo.CurrentCulture this is on ? I can reproduce it only with `ar-SA`
my culture is "IT-it", but i've seen the same behaviour in "en-US".
my environment is the one specified below:
Xamarin Studio Community
Version 6.3 (build 864)
.net runtime Mono 4.8.0 (i tried also older ones and newer ones)
Version: 18.104.22.168 (Xamarin Studio Community)
Version: 10.12.0.20 (Xamarin Studio Community)
Mac OS X 10.12.6
As addition information it seems that in iOS the issue is either on the emulators or on the real devices, whereas on android the issue arises only on real devices
Please le me know for any further question