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 5c2de42 commit f4d86f8Copy full SHA for f4d86f8
core.py
@@ -15,15 +15,15 @@
15
}]
16
17
SHIFT_UNIT_MAP = {
18
- 'ms': 'microsecond',
19
- 's': 'second',
20
- 'm': 'minute',
21
- 'h': 'hour',
22
- 'd': 'day',
+ 'ms': 'microseconds',
+ 's': 'seconds',
+ 'm': 'minutes',
+ 'h': 'hours',
+ 'd': 'days',
23
'w': 'weeks',
24
- 'M': 'month',
+ 'M': 'months',
25
'q': 'quarters',
26
- 'y': 'year',
+ 'y': 'years',
27
}
28
29
FORMAT_LIST = (
@@ -86,6 +86,7 @@ def do_parser(self):
86
break
87
88
self._parser_datetime()
89
+ self._apply_shift()
90
91
def _parser_extend_info(self):
92
"""parser timezone, shift"""
0 commit comments