well, this is rather strange, but I created a simple UWP project and added a simple line to the code:
IEnumerable<string> TimeZones = TimeZoneInfo.GetSystemTimeZones().Select(_ => _.DisplayName);
When I run the program, I get the expected result:
- (UTC-11: 00) Coordinated Universal Time-11 ",
- (UTC-10: 00) Aleutian Islands ",
- (UTC-10: 00) Hawaii ",
- (UTC-09: 30) Marquesas Islands ",
- ...
But if I set the "Compile with .Net Native tool chain" flag , I get:
- UTC-11
- Aleutian Standard Time
- Hawaiian Standard Time
- Standard time Marquesas
- ...
Is it possible to somehow get the expected behavior using "Compile with .Net Native tool chain" ?
source
share