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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Parsing duration with dates does this:
>>> pendulum.parse("2025-03-10/P3D") ... TypeError: Date.add() got an unexpected keyword argument 'hours'
However, adding an hour to the date string works:
>>> pendulum.parse("2025-03-10T00/P3D") <Interval [2025-03-10 00:00:00+00:00 -> 2025-03-13 00:00:00+00:00]>
It seems the internal datetime object is type Date, which doesn't support add(hours=...)
add(hours=...)
The text was updated successfully, but these errors were encountered:
Hey @mlongtin0 Can I look into this issue?
Sorry, something went wrong.
No branches or pull requests
Issue
Parsing duration with dates does this:
However, adding an hour to the date string works:
It seems the internal datetime object is type Date, which doesn't support
add(hours=...)
The text was updated successfully, but these errors were encountered: