mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-11-23 07:17:43 +01:00
Fix rate up on wish page after ayaka banner
This commit is contained in:
parent
f0f8344963
commit
5aee921ac5
1 changed files with 2 additions and 1 deletions
|
@ -703,10 +703,11 @@
|
|||
bannerList = banners[type].map((e) => {
|
||||
// banner data based on Asia time
|
||||
const diff = e.timezoneDependent === true ? 8 - getTimeOffset() : 0;
|
||||
const diffEnd = e.timezoneDependentEnd === true ? 8 - getTimeOffset() : 0;
|
||||
|
||||
const id = `${e.name} ${e.image}`;
|
||||
const start = dayjs(e.start, 'YYYY-MM-DD HH:mm:ss').subtract(diff, 'hour');
|
||||
const end = dayjs(e.end, 'YYYY-MM-DD HH:mm:ss');
|
||||
const end = dayjs(e.end, 'YYYY-MM-DD HH:mm:ss').subtract(diffEnd, 'hour');
|
||||
|
||||
return {
|
||||
...e,
|
||||
|
|
Loading…
Reference in a new issue