We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
self
1 parent 32ce6fa commit eee1ebcCopy full SHA for eee1ebc
src/pendulum/formatting/difference_formatter.py
@@ -84,7 +84,7 @@ def format(
84
elif diff.minutes > 0:
85
unit = "minute"
86
count = diff.minutes
87
- elif self.FEW_SECONDS_MAX < diff.remaining_seconds < SECONDS_OF_MINUTE:
+ elif FEW_SECONDS_MAX < diff.remaining_seconds < SECONDS_OF_MINUTE:
88
unit = "second"
89
count = diff.remaining_seconds
90
else:
0 commit comments