We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbb55a8 commit bdb5db4Copy full SHA for bdb5db4
src/models/frame.js
@@ -63,7 +63,7 @@ class frame {
63
if(!moment(this._start).isValid())
64
throw `Error: Start date is not in a valid ISO date format!`;
65
66
- if(!moment(this._stop).isValid())
+ if(this._stop && !moment(this._stop).isValid())
67
throw `Error: Stop date is not in a valid ISO date format!`;
68
69
moment.suppressDeprecationWarnings = false;
0 commit comments