From 78114a072934a439ea3116ef97d03a0cf29fea41 Mon Sep 17 00:00:00 2001 From: Erik <33332790+Navy-gif@users.noreply.github.com> Date: Sun, 17 Jul 2022 15:15:03 +0300 Subject: [PATCH] add 'mo' as valid shorthand for month --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e1384a2..396c5ba 100644 --- a/index.js +++ b/index.js @@ -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'] }