fix ISO8601 parsing of datetime
This commit is contained in:
parent
0be0896e91
commit
fbd5a66156
@ -102,7 +102,7 @@ public class Entry {
|
|||||||
this.datetime = json.GetValue("timestamp")?.ToString();
|
this.datetime = json.GetValue("timestamp")?.ToString();
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(this.datetime)) {
|
if (!string.IsNullOrEmpty(this.datetime)) {
|
||||||
this.timestamp = DateTime.Parse(this.datetime);
|
this.timestamp = DateTime.Parse(this.datetime, null, System.Globalization.DateTimeStyles.RoundtripKind);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user