changed to returning ISO-ext string.

This commit is contained in:
Andrew Lalis 2023-08-01 08:33:11 -04:00
parent fe21e7ccef
commit af0b8b0aab
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ struct LogEntry {
JSONValue toJson() const { JSONValue toJson() const {
JSONValue obj = JSONValue(string[string].init); JSONValue obj = JSONValue(string[string].init);
obj["id"] = JSONValue(id); obj["id"] = JSONValue(id);
obj["createdAt"] = JSONValue(createdAt.toISOString()); obj["createdAt"] = JSONValue(createdAt.toISOExtString());
obj["remoteAddress"] = JSONValue(remoteAddress); obj["remoteAddress"] = JSONValue(remoteAddress);
obj["name"] = JSONValue(name); obj["name"] = JSONValue(name);
obj["message"] = JSONValue(message); obj["message"] = JSONValue(message);