mirror of
https://github.com/iptv-org/epg
synced 2026-05-10 11:27:00 -04:00
update deps & clean out package.json
This commit is contained in:
@@ -3,11 +3,13 @@ const fs = require('fs')
|
||||
const path = require('path')
|
||||
const dayjs = require('dayjs')
|
||||
const utc = require('dayjs/plugin/utc')
|
||||
const timezone = require('dayjs/plugin/timezone')
|
||||
const customParseFormat = require('dayjs/plugin/customParseFormat')
|
||||
dayjs.extend(customParseFormat)
|
||||
dayjs.extend(utc)
|
||||
dayjs.extend(timezone)
|
||||
|
||||
jest.useFakeTimers().setSystemTime(new Date('2025-01-15'))
|
||||
jest.useFakeTimers().setSystemTime(dayjs.utc('2025-01-15').valueOf())
|
||||
|
||||
const date = dayjs.utc('2025-01-17', 'YYYY-MM-DD').startOf('d')
|
||||
const channel = {
|
||||
|
||||
Reference in New Issue
Block a user