added maximumReminderInterval and a conditional for it
added a test for 1000 years and Jan 2100 😀 (The world would be a different place, very unlikely Twitter will still be a thing and we'd be super lucky to be alive)
I'm not super sure you'd like the anonymous function for getting the future time but I think it's cleaner versus adding more figures, dealing with leap years etc; please let me know if there's a better alternative or if I need to change anything
Nice one open-sourcing this btw @shalvah 👍🏾
Here are the changes:
I'm not super sure you'd like the anonymous function for getting the future time but I think it's cleaner versus adding more figures, dealing with leap years etc; please let me know if there's a better alternative or if I need to change anything