data-fns-duration
Complementary package for date-fns
to add/subtract ISO 8601 durations to/from
dates.
Installation
Install it alongside date-fns
npm i -S date-fns-duration
API
; // addDuration(date, duration); // Add durationconst two_hours_from_now = ; // Subtract durationconst month_before = ;