mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-20 08:02:12 +00:00
change names
This commit is contained in:
parent
0ad24df38a
commit
eeff47d38f
1 changed files with 4 additions and 4 deletions
|
|
@ -149,15 +149,15 @@
|
|||
}
|
||||
})
|
||||
|
||||
// 1 week in date numbers, a bit of jitter for pre-releases and releasers being late as fuck, lets hope it doesnt cause issues
|
||||
const week = 2674848460
|
||||
// 1 month in MS, a bit of jitter for pre-releases and releasers being late as fuck, lets hope it doesnt cause issues
|
||||
const month = 2674848460
|
||||
|
||||
if (prequelEndDate) {
|
||||
entries = entries.filter(entry => entry.date > new Date(prequelEndDate + week))
|
||||
entries = entries.filter(entry => entry.date > new Date(prequelEndDate + month))
|
||||
}
|
||||
|
||||
if (sequelStartDate && media.format === 'TV') {
|
||||
entries = entries.filter(entry => entry.date < new Date(sequelStartDate - week))
|
||||
entries = entries.filter(entry => entry.date < new Date(sequelStartDate - month))
|
||||
}
|
||||
|
||||
if (sequelEntries?.length) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue