recurrence.next(1) hangs
See original GitHub issueHi,
var start = moment("01/01/2018", "MM/DD/YYYY");
var end = moment("12/06/2018", "MM/DD/YYYY");
var recurrence = moment().recur( start, end ).every(["Tuesday"]).daysOfWeek().every(3).weeks();
console.log('d');
if (typeof recurrence !== 'undefined' ){
console.log('defined');
console.log( recurrence.next(1) );
}else{
console.log( 'nothing');
}
This script hangs the browser. Is there a bug?
Jake He #
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:9
Top Results From Across the Web
Recurrence Flow Approval Email - Power Platform Community
Hi, I am trying to create a reminder email for leave request approvals. These work fine with the new or changed item flows....
Read more >Risk of seizure recurrence from antiepileptic drug withdrawal ...
The relapse rate in our study was similar to commonly reported overall rates for epilepsy. Distinguishing variables, such as withdrawal ...
Read more >How To Repair Your Outlook Data File To Resolve Recurring ...
If you are having recurring issues with Outlook crashing, hanging or messages not ... 1. Close Outlook and make sure it's fully closed...
Read more >Performing Recurrent Tasks - Hangfire Documentation
Manipulating recurring jobs¶ · 1. Have the job stored somewhere (i.e. a row in db as {id, state, expiration} · 2. If state...
Read more >“The danger still hangs over my head” fear of recurrence ...
recurrence among Israeli breast cancer survivors. Inbar Levkovich* ... that I got now, so what [the next one] will be next.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Wouldn’t the expected behaviour be to throw an error? Currently it freezes the entite process or crashes the browser.
In version 1.0.5 it works perfectly.
@Hyperblaster thanks! I’ve rollback to version 1.0.5 and works perfectly.