Skip to content

Is there a way to not schedule tasks on weekends? #3117

Answered by claremacrae
ZobaJakColbert asked this question in Q&A
Discussion options

You must be logged in to vote

There is a way on your phone to at least detect cases that you need to fix...

You can then edit the date on the phone (I am working on providing a calendar picker which will one day make that editing easier...)

```javascript
(recurrence includes every 19 days) OR \
(recurrence includes every 33 days) OR \
(recurrence includes every 61 days)

filter by function ['Sat', 'Sun'].includes(task.due.format('ddd'))

# Optionally, group by the date to make the need for change visible
group by function return 'due on weekend: ' + task.due.format('YYYY-MM-DD ddd')
```

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@ZobaJakColbert
Comment options

@claremacrae
Comment options

@ZobaJakColbert
Comment options

@claremacrae
Comment options

Answer selected by ZobaJakColbert
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@claremacrae
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
scope: recurrence Anything to do with recurring/repeating tasks
2 participants