How can I add a function variable to get days of current (default), previous or next week

前端 未结 0 1787
名媛妹妹
名媛妹妹 2020-12-22 15:10

My function returns days of the previous week. I want to replace this part:

- datetime.timedelta(days=7)

with a function parameter that will

相关标签:
回答
  • 消灭零回复
提交回复
热议问题