Format timestamps according to client locale
This commit is contained in:
1 parent
d222e488c2
commit
8b540c2a97
2 files changed
+3
-3
No files matched your search
@@ -11,7 +11,7 @@ const component = {
|
||||
if (!param || !param.value) return m("span.na", "N/A");
|
||||
let value = param.value[0];
|
||||
if (param.value[1] === "xsd:dateTime")
|
||||
value = new Date(value).toISOString();
|
||||
value = new Date(value).toLocaleString();
|
||||
|
||||
let edit;
|
||||
if (param.writable)
|
||||
|
||||
Reference in new issue
Block a user