mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-10-24 01:46:35 +02:00
Update timeline
This commit is contained in:
parent
96e7296f16
commit
b4fd55276b
2 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ export const eventsData = [
|
|||
name: 'A Thousand Questions With Paimon',
|
||||
pos: '60% 30%',
|
||||
image: 'a_thousand_questions_with_paimon.jpg',
|
||||
start: '2021-04-06 06:00:00',
|
||||
start: '2021-04-06 13:00:00',
|
||||
end: '2021-04-13 04:00:00',
|
||||
color: '#EFDEB4',
|
||||
zoom: '180%',
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
<span class="text-sm rounded-xl text-black font-semibold bg-white bg-opacity-75 px-1">
|
||||
{diffEnd > 86400000
|
||||
? `${Math.trunc(dayjs.duration(diffEnd).asDays())}d ${
|
||||
shouldShowHourEnd ? dayjs.duration(diffEnd).format('HH:mm:ss') : ''
|
||||
shouldShowHourEnd ? dayjs.duration(diffEnd).format('H[h]') : ''
|
||||
}`
|
||||
: dayjs.duration(diffEnd).format('HH:mm:ss')}
|
||||
</span>
|
||||
|
@ -78,7 +78,7 @@
|
|||
<span class="text-sm rounded-xl text-black font-semibold bg-white bg-opacity-75 px-1">
|
||||
{diffStart > 86400000
|
||||
? `${Math.trunc(dayjs.duration(diffStart).asDays())}d ${
|
||||
shouldShowHourStart ? dayjs.duration(diffStart).format('HH:mm:ss') : ''
|
||||
shouldShowHourStart ? dayjs.duration(diffStart).format('H[h]') : ''
|
||||
}`
|
||||
: dayjs.duration(diffStart).format('HH:mm:ss')}
|
||||
</span>
|
||||
|
|
Loading…
Reference in a new issue