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

Fix broken usage of cron.parse and add getNextDate #3

Merged
merged 2 commits into from
Nov 27, 2014

Conversation

anderssonjohan
Copy link
Collaborator

In newer later.js, require('later').parse.cron == undefined.
Also adds getNextDate to allow using specific timezones (with moment-timezone) like:
moment.tz( prettyCron.getNextDate( cronPattern ), "Europe/Stockholm" )

azza-bazoo added a commit that referenced this pull request Nov 27, 2014
Fix broken usage of cron.parse and add getNextDate (very overdue merge, sorry @anderssonjohan!)
@azza-bazoo azza-bazoo merged commit f2a34e2 into azza-bazoo:master Nov 27, 2014
azza-bazoo added a commit that referenced this pull request Nov 27, 2014
Fix broken usage of cron.parse and add getNextDate (very overdue merge, sorry @anderssonjohan!)
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

Successfully merging this pull request may close these issues.

2 participants