Bug 59415 - iPhone Language determines CultureInfo.Current, but English (U.K.) maps to en-US instead of en-UK
Summary: iPhone Language determines CultureInfo.Current, but English (U.K.) maps to en...
Status: RESOLVED DUPLICATE of bug 52334
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2017-09-12 12:53 UTC by Bert Degenhart Drenth
Modified: 2017-09-13 16:13 UTC (History)
4 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Bert Degenhart Drenth 2017-09-12 12:53:06 UTC

Comment 1 Bert Degenhart Drenth 2017-09-12 13:00:12 UTC
The language setting of IOS devices determine the CultureInfo.Current setting, but if the language of the device is set to English (U.K.) then the CultureInfo is set to en-US. 

This CultureInfo is used as the default when parsing Dates and Times.
So DateTime.Parse("29/09/2017"), being a valid European date will fail because 29 is interpreted as the month (US style dates). This is quite confusing...

Since IOS can make a distinction between English (UK) and English (USA) these two should be mapped to a different CultureInfo. It would be even better if the Region Settings could be used for determining the default converions of dates and times.
Comment 2 Alex Soto [MSFT] 2017-09-13 16:13:37 UTC

*** This bug has been marked as a duplicate of bug 52334 ***