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
由于节假日的影响,上下两周的双休会部分调整为工作日,对实际的数据产生影响,希望可以增加这样一个字段,十分感谢。
The text was updated successfully, but these errors were encountered:
提议很棒~可以加入更新套餐。
目前要做的话可以通过 weekday + is_workday 判断,样例如下:
day = datetime.date(2021,5,8) if day.weekday() in (5, 6) and chinese_calendar.is_workday(day): print("{} 是调休工作日".format(day))
Sorry, something went wrong.
哈哈,期待。
No branches or pull requests
由于节假日的影响,上下两周的双休会部分调整为工作日,对实际的数据产生影响,希望可以增加这样一个字段,十分感谢。
The text was updated successfully, but these errors were encountered: