tempo icon indicating copy to clipboard operation
tempo copied to clipboard

feature: diff & add functions

Open WilcoSp opened this issue 1 year ago • 1 comments

This PR is stacked on PR https://github.com/formkit/tempo/pull/58

The diff & add function I had mentioned before at https://github.com/formkit/tempo/pull/66#issuecomment-2263626679

This PR adds the following:

  • diff function which takes 1/2 date(s) + optional options to return an object which can be used with Intl.DurationFormat.prototype.format()
  • add function which takes optionally a date, a DurationObj & optional a boolean to overflow the date to the next month, to return a new Date object

WilcoSp avatar Aug 14 '24 12:08 WilcoSp

@WilcoSp is attempting to deploy a commit to the Formkit Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Aug 14 '24 12:08 vercel[bot]