add 'mo' as valid shorthand for month

This commit is contained in:
Erik 2022-07-17 15:15:03 +03:00 committed by GitHub
parent e5ef7fa846
commit 78114a0729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ const UNIT_MAP = {
h: ['h', 'hr', 'hrs', 'hour', 'hours'],
d: ['d', 'day', 'days'],
w: ['w', 'week', 'weeks'],
mth: ['mon', 'mth', 'mths', 'month', 'months'],
mth: ['mo', 'mon', 'mth', 'mths', 'month', 'months'],
y: ['y', 'yr', 'yrs', 'year', 'years']
}