fix ISO8601 parsing of datetime
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user