Skip to content
Myr

Open ask add-months-clamp

Landed as b553230opened add-months-clamp

addMonths ends on the last day of the target month when that month is too short for the start date's day, in either direction: January 31 plus one month is February 29 in a leap year and February 28 otherwise. The time of day is kept.

authored by ines-v · committed by the platform · parent 8d30207 · Browse files · 2 files+33 added−0 removed
This landing

State

Landed as b553230opened add-months-clamp

By ines-v

Credit

Diff stats

2 files+33 added−0 removed

  • tests:+20 added−0 removed
  • other:+13 added−0 removed

2 files+33 added−0 removed

added:.myr/asks/add-months-clamp.ask.ts+13 added
added:test/asks/add-months-clamp.test.ts+20 added