Closed alvarowolfx closed 7 months ago
PreciseDate class fails when instantiated with zero value ( number 0 or BigInt(0)). Using PreciseDate.parseFull + preciseDateInstance.setFulltime manually with BigInt skips the code paths that doesn't check for zero.
PreciseDate
0
BigInt(0)
PreciseDate.parseFull
preciseDateInstance.setFulltime
BigInt
Reference:
Fixes #1353 🦕 Supersedes #1354
PreciseDate
class fails when instantiated with zero value ( number0
orBigInt(0)
). UsingPreciseDate.parseFull
+preciseDateInstance.setFulltime
manually withBigInt
skips the code paths that doesn't check for zero.Reference:
Fixes #1353 🦕 Supersedes #1354