Commit c1946b51 authored by isstuev's avatar isstuev

metadata date fix

parent 8c1be25f
...@@ -19,7 +19,7 @@ function formatValue(value: string | number, display: string | undefined, trait: ...@@ -19,7 +19,7 @@ function formatValue(value: string | number, display: string | undefined, trait:
} }
case 'date': { case 'date': {
return { return {
value: dayjs(value).format('YYYY-MM-DD'), value: dayjs(Number(value) * 1000).format('YYYY-MM-DD'),
}; };
} }
default: { default: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment