mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 02:47:02 -05:00
Fixes linter issues
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
const dayjs = require('dayjs')
|
||||
const utc = require('dayjs/plugin/utc')
|
||||
import dayjs from 'dayjs'
|
||||
import utc from 'dayjs/plugin/utc'
|
||||
|
||||
dayjs.extend(utc)
|
||||
|
||||
const date = {}
|
||||
@@ -10,4 +11,4 @@ date.getUTC = function (d = null) {
|
||||
return dayjs.utc().startOf('d')
|
||||
}
|
||||
|
||||
module.exports = date
|
||||
export default date
|
||||
|
||||
Reference in New Issue
Block a user