I was working on a prototype of BigInt support for fs.Stat in Node.js and I noticed that there are no way to construct a Date out of ms in BigInt. In a conversation with @littledan I learned that it's because Date is Number-based, a better solution for date time with BigInt support would be the Temporal proposal. It would be good if there is explanation in the README about this.
I was working on a prototype of BigInt support for
fs.Statin Node.js and I noticed that there are no way to construct a Date out of ms in BigInt. In a conversation with @littledan I learned that it's because Date is Number-based, a better solution for date time with BigInt support would be the Temporal proposal. It would be good if there is explanation in the README about this.