iptv/scripts/core/date.js
2022-08-15 02:22:31 +03:00

13 lines
172 B
JavaScript

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