From 02fa67bee218909c786afd7f86d8395d65603c7d Mon Sep 17 00:00:00 2001 From: tempookian <124298725+tempookian@users.noreply.github.com> Date: Fri, 22 Mar 2024 11:52:40 +0100 Subject: [PATCH] Fix typo in variable name from _hour to _hours --- src/pendulum/parsing/iso8601.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pendulum/parsing/iso8601.py b/src/pendulum/parsing/iso8601.py index cc4dd7aa..06639412 100644 --- a/src/pendulum/parsing/iso8601.py +++ b/src/pendulum/parsing/iso8601.py @@ -278,7 +278,7 @@ def _parse_iso8601_duration(text: str, **options: str) -> Duration | None: fractional = False _days: str | float - _hour: str | int | None + _hours: str | int | None _minutes: str | int | None _seconds: str | int | None if m.group("w"):