Closed leiffoged closed 3 months ago
new Date(+value); => new Date(Number(value));
value is a BigInt. +value is a JS error ('Cannot convert a BigInt value to a number')
value
I believe the proper conversion is Number(value). Also used Number(value) instead of parseInt.
new Date(+value); => new Date(Number(value));
value
is a BigInt. +value is a JS error ('Cannot convert a BigInt value to a number')I believe the proper conversion is Number(value). Also used Number(value) instead of parseInt.