From Dev.to
The Date Math Behind a Due Date Calculator (Naegele's Rule in JavaScript)
Estimating a due date looks trivial, but the date math has more edge cases than you would expect. Here is how I think about it when building a calculator, with plain JavaScript examples. Important: ev...
