formkit / tempo

📆 Parse, format, manipulate, and internationalize dates and times in JavaScript and TypeScript.
https://tempo.formkit.com
MIT License
2.34k stars 30 forks source link

Adding difference In constant functions #50

Closed WilcoSp closed 5 months ago

WilcoSp commented 5 months ago

this PR is relates to issue https://github.com/formkit/tempo/issues/45

This PR adds difference In functions for milliseconds, seconds, minutes, hours, days & weeks, aka units that have a constant amount of milliseconds in them

note: PR https://github.com/formkit/tempo/pull/51 is build on this PR, if that PR gets merged the code from this one will too

if there is any feedback/suggestions let me know

vercel[bot] commented 5 months ago

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

A member of the Team first needs to authorize it.

WilcoSp commented 5 months ago

okay, no feedback I see so this pr is open for review, I'll also start working on the difference in months & years