You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vartime=date.toTimeString().split(' ')[0];// get hour and minute (there are better ways to do this)varsched=later.parse.recur().on(time).time();vardayOfWeek=later.dayOfWeek.val(date);// NOTE this line might mess up your `date` instanceconsole.log(dayOfWeek);// 3console.log(date);// { 2017-12-19T20:00:00.000Z dw: 3 }
The date instance got modified. Is this expected behavior? I continued using date below this code point and received errors. I expected that call to val() won't change my date instance.
Hi,
I've just experienced this issue:
The
date
instance got modified. Is this expected behavior? I continued usingdate
below this code point and received errors. I expected that call toval()
won't change my date instance.It's because this line of code:
later/src/constraint/dayofweek.js
Lines 29 to 31 in 5d38cc3
The text was updated successfully, but these errors were encountered: