fix ISO8601 parsing of datetime

This commit is contained in:
Florian Stinglmayr 2022-11-25 17:36:41 +01:00
parent 0be0896e91
commit fbd5a66156

View File

@ -102,7 +102,7 @@ public class Entry {
this.datetime = json.GetValue("timestamp")?.ToString();
if (!string.IsNullOrEmpty(this.datetime)) {
this.timestamp = DateTime.Parse(this.datetime);
this.timestamp = DateTime.Parse(this.datetime, null, System.Globalization.DateTimeStyles.RoundtripKind);
}
}