diff options
Diffstat (limited to 'node_modules/moment/src/lib/units/second.js')
-rw-r--r-- | node_modules/moment/src/lib/units/second.js | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/node_modules/moment/src/lib/units/second.js b/node_modules/moment/src/lib/units/second.js deleted file mode 100644 index eedbfc9..0000000 --- a/node_modules/moment/src/lib/units/second.js +++ /dev/null @@ -1,29 +0,0 @@ -import { makeGetSet } from '../moment/get-set'; -import { addFormatToken } from '../format/format'; -import { addUnitAlias } from './aliases'; -import { addUnitPriority } from './priorities'; -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'); - -// PRIORITY - -addUnitPriority('second', 15); - -// PARSING - -addRegexToken('s', match1to2); -addRegexToken('ss', match1to2, match2); -addParseToken(['s', 'ss'], SECOND); - -// MOMENTS - -export var getSetSecond = makeGetSet('Seconds', false); |