Skip to content

Possible bug with BMonthEnd() #4097

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

Closed
BMeridian opened this issue Jul 1, 2013 · 2 comments
Closed

Possible bug with BMonthEnd() #4097

BMeridian opened this issue Jul 1, 2013 · 2 comments

Comments

@BMeridian
Copy link

import pandas
from pandas.tseries.offsets import *
import datetime as dt
d = dt.datetime(2013, 6, 28, 0, 0)
d + BMonthEnd()
datetime.datetime(2013, 7, 31, 0, 0)
d = dt.datetime(2013, 6, 28, 12, 0)
d + BMonthEnd()
datetime.datetime(2013, 7, 31, 0, 0)

At noon on 6/28 end of business month is 23:59, not the start of the
day... Bug, I think????

@jreback
Copy link
Contributor

jreback commented Jul 1, 2013

isn't this a dup of #4069????

if you have an additional example, ps just add to that one...thanks

@BMeridian
Copy link
Author

didnt see that #4069, was still open...sorry

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

No branches or pull requests

2 participants