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
In 0.10.1, Timestamp constructor seems to have an issue localizing datetime.date objects.
In [19]: import datetime In [20]: datetime.date(2013, 3, 9) Out[20]: datetime.date(2013, 3, 9) In [21]: d=datetime.date(2013, 3, 9) In [22]: Timestamp(d, tz='US/Pacific') == Timestamp(d).tz_localize('US/Pacific') Out[22]: False In [23]: Timestamp(d, tz='US/Pacific') Out[23]: <Timestamp: 2013-03-08 16:00:00-0800 PST, tz=US/Pacific>
The text was updated successfully, but these errors were encountered:
The constructor of Timestamp accidentally does different jobs for datetime.date and datetime.datetime I've solved it, and sent a pull request
datetime.date
datetime.datetime
Sorry, something went wrong.
PR merged, fixed in master with 2998540.
No branches or pull requests
In 0.10.1, Timestamp constructor seems to have an issue localizing datetime.date objects.
The text was updated successfully, but these errors were encountered: