Fix rate up on wish page after ayaka banner

This commit is contained in:
Made Baruna 2022-06-09 20:18:52 +07:00
parent f0f8344963
commit 5aee921ac5

View file

@ -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,