Open WilcoSp opened 3 months ago
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
diff
add
This PR adds the following:
@WilcoSp is attempting to deploy a commit to the Formkit Team on Vercel.
A member of the Team first needs to authorize it.
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-2263626679This 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