时差一个节点包,用于显示两个或多个格式化时间之间的差异。该库为提供解析器时间而创建。
安装:
npm install differencebetweentimes
用法:
differenceParser = require('differencebetweentimes').differenceBetweenTimes;
differenceParser(['1:34.494', '1:32.812', '1:35.606']);
// 返回 ['1:34.494', '-01.682', '+01.112']
暂无评论