iptv/scripts/core/date.js

13 lines
172 B
JavaScript
Raw Permalink Normal View History

2022-08-15 01:22:31 +02:00
const dayjs = require('dayjs')
const utc = require('dayjs/plugin/utc')
dayjs.extend(utc)
const date = {}
date.utc = d => {
return dayjs.utc(d)
}
module.exports = date