index.js 340 B

123456789101112
  1. var pc = require('./zh-cn.min')
  2. var relativeTime = require('./relativeTime.min')
  3. var isBetween = require('./isBetween.min')
  4. var toObject = require('./toObject.min')
  5. var dayjs = require('./dayjs.min')
  6. dayjs.locale(pc)
  7. // dayjs.locale('zh-cn')
  8. dayjs.extend(relativeTime)
  9. dayjs.extend(isBetween)
  10. dayjs.extend(toObject)
  11. export default {dayjs};