You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m also seeing a related but distinct issue when supplying only the year,
>>>pendulum.parse("2025/P1Y")
# ./pendulum/parsing/__init__.py", line 125, in _parse# raise ParserError(f"Unable to parse string [{text}]")# pendulum.parsing.exceptions.ParserError: Unable to parse string [2025/P1Y]
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: