Skip to content

BUG: Possible BMonthEnd() #4069

Closed
Closed
@BMeridian

Description

@BMeridian
>>> import datetime as dt
>>> from pandas.tseries.offsets import *
>>> d = dt.datetime(2013, 6, 27, 8, 10)
>>> d + BMonthEnd()
datetime.datetime(2013, 6, 28, 0, 0) # correct!!!
>>> d = dt.datetime(2013, 6, 28, 8, 10)
>>> d + BMonthEnd()
datetime.datetime(2013, 7, 31, 0, 0) ## should 6/28 not 7/31...day not over

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions