Skip to content

Commit

Permalink
metadata date fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ArminaAiren committed Mar 18, 2024
1 parent 8c1be25 commit c1946b5
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 c1946b5

Please sign in to comment.