Reputation: 1341
So, I don't know if I didn't notice before or what but if I use Clock.weekday
and assign a day and hour and minute that are very close to the current date (today or tomorrow) it works. If I assign to a day two days later than the current date it says wakeup failed invalid argument
when I try to set up a wakeup with that time (time being var time = Clock.weekday(blah blah).
..
Am I doing something wrong? or is there a limit with the clock.weekday
function?
Upvotes: 0
Views: 108
Reputation: 206
There was an issue with how moment was being used. It is has now been fixed on master. Thanks for bringing this up!
Here is the commit with the fix.
Upvotes: 2