Skip to content

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 13 Oct 08:16
· 40 commits to main since this release

Patch Changes

  • 78a1873: Fix addDays dropping the time of day

    addDays built its result with new Date(year, month, day), which
    zeroes the time — so any Date carrying a time came back at
    midnight, contradicting the DST-safety the helper documents. It now
    uses setDate, which preserves the wall-clock time and still rolls
    month and year boundaries over.