mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
LibJS: Update spec comment in get_iso_parts_from_epoch()
This is a normative change in the Temporal spec.
See: bdf60f5
This commit is contained in:
parent
4b7f716f21
commit
b70a55bd5a
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ ISODateTime get_iso_parts_from_epoch(BigInt const& epoch_nanoseconds)
|
|||
{
|
||||
// 1. Assert: epochNanoseconds is an integer.
|
||||
|
||||
// 2. Let remainderNs be remainder(epochNanoseconds, 10^6).
|
||||
// 2. Let remainderNs be epochNanoseconds modulo 10^6.
|
||||
auto remainder_ns_bigint = epoch_nanoseconds.big_integer().divided_by(Crypto::UnsignedBigInteger { 1'000'000 }).remainder;
|
||||
auto remainder_ns = remainder_ns_bigint.to_double();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue