1 comments

  • paulddraper 27 minutes ago

    > This is because NewV7 assumes that the wallclock timer always has microsecond or nanosecond precision, though a browser's wallclock (new Date.getTime()) is millisecond precision.

    That's true of Date, but not Temporal, which supported in most cases. [1]

    There needs to be a fallback, but when supported `Temporal.Now.instant()` is the solution.

    [1] https://caniuse.com/?search=temporal