We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.is_workday()是True的话,就是工作日+调休日,False的话就是公休日+节假日 2.is_in_lieu()法定节假日是不是调休是什么意思
The text was updated successfully, but these errors were encountered:
您好,浏览时看到这个问题,擅自替作者回答下。
is_workday() == True 是工作日,is_workday() == False 是休息不上班。
is_workday() == True
is_workday() == False
我看到作者更新的 constants.py 中的相应 in_lieu_days 定义中,应该是对休息日又区分了 “本来存在的假期” 和 “从其他周末调休过来的假期”,例如 2023 年 10 月 5、6 日放假,但是 is_in_lieu() == True ,可能是认为这两天的休息 “调休” 了假期结束后需要工作的 7、8 日(周六、周日)。
constants.py
in_lieu_days
is_in_lieu() == True
Sorry, something went wrong.
No branches or pull requests
1.is_workday()是True的话,就是工作日+调休日,False的话就是公休日+节假日 2.is_in_lieu()法定节假日是不是调休是什么意思
The text was updated successfully, but these errors were encountered: