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.
1 parent 672a5f5 commit c629e7bCopy full SHA for c629e7b
core/time.py
@@ -32,6 +32,10 @@ def __init__(self, argument):
32
now = datetime.utcnow()
33
self.dt = now + relativedelta(**data)
34
35
+# Monkey patch mins and secs into the units
36
+units = pdt.pdtLocales['en_US'].units
37
+units['minutes'].append('mins')
38
+units['seconds'].append('secs')
39
40
class HumanTime:
41
calendar = pdt.Calendar(version=pdt.VERSION_CONTEXT_STYLE)
0 commit comments