Have a question, don't know how to solve it.
Let's say we have three periods.
- with 2017-11-06 on 2017-11-20
- with 2017-11-10 for 2017-11-19 (status: false)
- with 2017-11-14 for 2017-11-25
How to subtract a period for the number 2, which would output to
- with 2017-11-06 on 2017-11-10
- with 2017-11-20 for 2017-11-25
Use the datetime object.
# and, accordingly
# if status is false, then it should be deducted.