📜  momentDurationFormatSetup - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:30.596000             🧑  作者: Mango

代码示例1
var moment = require("moment-timezone");
var momentDurationFormatSetup = require("moment-duration-format");

momentDurationFormatSetup(moment);
typeof moment.duration.fn.format === "function";
// true
typeof moment.duration.format === "function";
// true