Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schedule(s).next(1, d) fails if s = { schedules: [{ Y: [2012] }, { Y: [2017] }] } and d = new Date('2013-03-21T00:00:05Z') with TypeError: a.getTime is not a function #14

Closed
yrambler2001 opened this issue Jul 28, 2021 · 2 comments

Comments

@yrambler2001
Copy link
Contributor

schedule(s).next(1, d) fails if
s = { schedules: [{ Y: [2012] }, { Y: [2017] }] }
d = new Date('2013-03-21T00:00:05Z')
with TypeError: a.getTime is not a function
image

yrambler2001 added a commit to yrambler2001/later that referenced this issue Jul 28, 2021
yrambler2001 added a commit to yrambler2001/later that referenced this issue Jul 28, 2021
@yrambler2001
Copy link
Contributor Author

With the fix:
image

yrambler2001 added a commit to yrambler2001/later that referenced this issue Jul 28, 2021
titanism added a commit that referenced this issue Nov 28, 2023
Fixed failing schedule().next() #14
@titanism
Copy link
Contributor

Thank you 🙏 Merged and released to npm 🎉

breejs/later v4.2.0 released to npm https://github.com/breejs/later/releases/tag/v4.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants