I have a question about the library datejs.com . I can’t do this:

  1. When you click on the "current week" button - you must put in the input the end date of the current week (the end of the week is always Sunday)
  2. When you click on the "next week" button - in the same way only from Monday to Sunday

1 answer 1

1) next sunday
2) next sunday + 8