mirror of
https://github.com/iptv-org/epg
synced 2025-12-18 11:27:06 -05:00
Fixed dayjs.utc import
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
const dayjs = require('dayjs')
|
const dayjs = require('dayjs')
|
||||||
|
const utc = require('dayjs/plugin/utc')
|
||||||
|
const isSameOrAfter = require('dayjs/plugin/isSameOrAfter')
|
||||||
|
const isSameOrBefore = require('dayjs/plugin/isSameOrBefore')
|
||||||
|
|
||||||
var isSameOrAfter = require('dayjs/plugin/isSameOrAfter')
|
dayjs.extend(utc)
|
||||||
dayjs.extend(isSameOrAfter)
|
dayjs.extend(isSameOrAfter)
|
||||||
|
|
||||||
var isSameOrBefore = require('dayjs/plugin/isSameOrBefore')
|
|
||||||
dayjs.extend(isSameOrBefore)
|
dayjs.extend(isSameOrBefore)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
Reference in New Issue
Block a user