Repository navigation
v0.7.1
Patch Changes
-
78a1873: Fix
addDaysdropping the time of dayaddDaysbuilt its result withnew Date(year, month, day), which
zeroes the time — so anyDatecarrying a time came back at
midnight, contradicting the DST-safety the helper documents. It now
usessetDate, which preserves the wall-clock time and still rolls
month and year boundaries over.