spencermountain / spacetime

A lightweight javascript timezone library
http://spacetime.how/
Other
3.97k stars 184 forks source link

Add stepCount parameter for every() #411

Closed alexmanzo closed 4 months ago

alexmanzo commented 4 months ago

👋 Thanks for taking the time to look at this!

This PR adds a stepCount parameter to the .every() function, which defaults to 1.

This is practical for a variety of intervals:

Happy to address any feedback!

spencermountain commented 4 months ago

hey - this is very nicely done. thank you!