Utils¶
-
workingless.utils.
get_next_day
(date: datetime.date, next_day: int = 0) → datetime.date[source]¶ Get next day if date is not equal than date
- Parameters
date (datetime.date) – from date
next_day (int) – next day. MONDAY is default
- Returns
- same date if day from
date
is equal to next_date, date with next_day otherwise.
- same date if day from
- Return type
date