We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Note the output skips the weekday 12/23/2011.
dt = datetime(2012, 1, 1) for i in range(1,10): print i, (dt - i * BDay()).strftime('%m/%d/%Y')
1 12/30/2011 2 12/29/2011 3 12/28/2011 4 12/27/2011 5 12/26/2011 6 12/22/2011 7 12/21/2011 8 12/20/2011 9 12/19/2011
however when the start date is onoffset it works fine
dt = datetime(2011, 12, 30) for i in range(1, 10): print i, (dt - i * BDay()).strftime('%m/%d/%Y')
1 12/29/2011 2 12/28/2011 3 12/27/2011 4 12/26/2011 5 12/23/2011 6 12/22/2011 7 12/21/2011 8 12/20/2011 9 12/19/2011
The text was updated successfully, but these errors were encountered:
BUG: BDay for n>5 bug if starting not on offset #2680
0325f49
No branches or pull requests
Note the output skips the weekday 12/23/2011.
1 12/30/2011
2 12/29/2011
3 12/28/2011
4 12/27/2011
5 12/26/2011
6 12/22/2011
7 12/21/2011
8 12/20/2011
9 12/19/2011
however when the start date is onoffset it works fine
1 12/29/2011
2 12/28/2011
3 12/27/2011
4 12/26/2011
5 12/23/2011
6 12/22/2011
7 12/21/2011
8 12/20/2011
9 12/19/2011
The text was updated successfully, but these errors were encountered: