Skip to content

Commit 79d7c16

Browse files
committed
Removes unnecessary constant.
1 parent d890488 commit 79d7c16

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

pendulum/formatting/difference_formatter.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@ class DifferenceFormatter(object):
88
Handles formatting differences in text.
99
"""
1010

11-
THRESHOLDS = (
12-
('remaining_seconds', 'second', 59),
13-
('minutes', 'minute', 59),
14-
('hours', 'hour', 23),
15-
('remaining_days', 'day', 6),
16-
('weeks', 'week', 3),
17-
('months', 'month', 11),
18-
('years', 'year', None),
19-
)
20-
2111
def __init__(self, translator=Translator()):
2212
self._translator = translator
2313

0 commit comments

Comments
 (0)