Duration
Duration adds .duration
.isDuration
APIs to support duration.
var duration = require("dayjs/plugin/duration");
// import duration from 'dayjs/plugin/duration' // ES 2015
dayjs.extend(duration);
dayjs.duration(100);
Duration adds .duration
.isDuration
APIs to support duration.
var duration = require("dayjs/plugin/duration");
// import duration from 'dayjs/plugin/duration' // ES 2015
dayjs.extend(duration);
dayjs.duration(100);