Sha256: c1de075eb450e97fa5759fac32c8421f381a1af7325ed0648fb189489bf46672
Contents?: true
Size: 679 Bytes
Versions: 19
Compression:
Stored size: 679 Bytes
Contents
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);
Version data entries
19 entries across 19 versions & 1 rubygems