Skip to content
New issue

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

希望将三天假期里的周末也放在在holidays变量里,用来区分正常周末和假期周末 #44

Open
StarsHu opened this issue Jul 5, 2019 · 4 comments

Comments

@StarsHu
Copy link

StarsHu commented Jul 5, 2019

如今年的端午节,6.7是周五,在holidays里,6.8和6.9分别是周六和周日,没有在任何变量里,可以理解为普通周末。

但实际上还有很多情况是一周上六天的,此时需要区分一个周六是普通周六还是假期周六。我能想到的最简单的办法就是将这些周末的Datatime也维护在holidays里面。

@LKI
Copy link
Owner

LKI commented Jul 5, 2019

嗯是的,这种周末相当于是“节假日的特殊周末”,的确得处理下

@LKI LKI added the enhancement label Jul 5, 2019
@PengRich
Copy link

我也碰到这种情况,请尽快处理一下

@fhrl94
Copy link
Contributor

fhrl94 commented Jul 11, 2019

可以将holiday拆分为2个, 整体估计得大改0.0

@BennyWnj
Copy link

同样发现这个问题,得加点判断进去

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants