mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Fixed dayjs.utc import
This commit is contained in:
parent
307da2bb7c
commit
7e35926143
1 changed files with 4 additions and 3 deletions
|
@ -1,9 +1,10 @@
|
|||
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)
|
||||
|
||||
var isSameOrBefore = require('dayjs/plugin/isSameOrBefore')
|
||||
dayjs.extend(isSameOrBefore)
|
||||
|
||||
module.exports = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue