We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a39654c + acc7f48 commit b39d70fCopy full SHA for b39d70f
Microsoft.Toolkit.Uwp.SampleApp/Data/DataGridDataSource.cs
@@ -5,6 +5,7 @@
5
using System;
6
using System.Collections.Generic;
7
using System.Collections.ObjectModel;
8
+using System.Globalization;
9
using System.IO;
10
using System.Linq;
11
using System.Text;
@@ -48,7 +49,7 @@ public async Task<IEnumerable<DataGridDataItem>> GetDataAsync()
48
49
Coordinates = values[4],
50
Prominence = uint.Parse(values[5]),
51
Parent_mountain = values[6],
- First_ascent = DateTimeOffset.Parse(values[7]),
52
+ First_ascent = DateTimeOffset.Parse(values[7], CultureInfo.InvariantCulture.DateTimeFormat),
53
Ascents = values[8],
54
});
55
}
0 commit comments