javascript - Later.js shift scheduled day based on exceptions -


i'm trying later.js shift timing of recurring schedule based on exceptions , i'm not sure how that. here can see i'm setting september 30 start date, that's saturday. since have .onweekday() modifier on there it's eliminating date others. i'd able shift closest valid date automatically. possible or know how achieve this?

$(document).ready(function() {    var d = new date("september 30, 2017");    later.date.localtime();    var dayofmonth = later.day.val(d);    var schedule = later.parse.recur().every().month().on(dayofmonth).dayofmonth().onweekday();    var next = later.schedule(schedule).next(6);    console.log(next);      });
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>  <script src="https://rawgit.com/bunkat/later/master/later.js"></script>


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -