aboutsummaryrefslogtreecommitdiffstats
path: root/library/moment/src/lib/units/second.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/moment/src/lib/units/second.js')
-rw-r--r--library/moment/src/lib/units/second.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/library/moment/src/lib/units/second.js b/library/moment/src/lib/units/second.js
deleted file mode 100644
index 118fe3083..000000000
--- a/library/moment/src/lib/units/second.js
+++ /dev/null
@@ -1,24 +0,0 @@
-import { makeGetSet } from '../moment/get-set';
-import { addFormatToken } from '../format/format';
-import { addUnitAlias } from './aliases';
-import { addRegexToken, match1to2, match2 } from '../parse/regex';
-import { addParseToken } from '../parse/token';
-import { SECOND } from './constants';
-
-// FORMATTING
-
-addFormatToken('s', ['ss', 2], 0, 'second');
-
-// ALIASES
-
-addUnitAlias('second', 's');
-
-// PARSING
-
-addRegexToken('s', match1to2);
-addRegexToken('ss', match1to2, match2);
-addParseToken(['s', 'ss'], SECOND);
-
-// MOMENTS
-
-export var getSetSecond = makeGetSet('Seconds', false);