Commit 6618c444 authored by Igor Stuev's avatar Igor Stuev Committed by GitHub

Merge pull request #1712 from blockscout/metadata-date-fix

metadata date fix
parents 259b2df5 c1946b51
......@@ -19,7 +19,7 @@ function formatValue(value: string | number, display: string | undefined, trait:
}
case 'date': {
return {
value: dayjs(value).format('YYYY-MM-DD'),
value: dayjs(Number(value) * 1000).format('YYYY-MM-DD'),
};
}
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