Skip to content

Commit

Permalink
Merge pull request #1712 from blockscout/metadata-date-fix
Browse files Browse the repository at this point in the history
metadata date fix
  • Loading branch information
isstuev authored Mar 18, 2024
2 parents 259b2df + c1946b5 commit 6618c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/token/metadata/attributesParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 6618c44

Please sign in to comment.