add 'mo' as valid shorthand for month
This commit is contained in:
parent
e5ef7fa846
commit
78114a0729
2
index.js
2
index.js
@ -31,7 +31,7 @@ const UNIT_MAP = {
|
|||||||
h: ['h', 'hr', 'hrs', 'hour', 'hours'],
|
h: ['h', 'hr', 'hrs', 'hour', 'hours'],
|
||||||
d: ['d', 'day', 'days'],
|
d: ['d', 'day', 'days'],
|
||||||
w: ['w', 'week', 'weeks'],
|
w: ['w', 'week', 'weeks'],
|
||||||
mth: ['mon', 'mth', 'mths', 'month', 'months'],
|
mth: ['mo', 'mon', 'mth', 'mths', 'month', 'months'],
|
||||||
y: ['y', 'yr', 'yrs', 'year', 'years']
|
y: ['y', 'yr', 'yrs', 'year', 'years']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user