Replaces icon with image

This commit is contained in:
freearhey
2024-06-24 16:49:35 +03:00
parent 0eaff54a31
commit bb6771f539
170 changed files with 428 additions and 351 deletions

View File

@@ -46,7 +46,7 @@ module.exports = {
? dayjs.utc(scheduleDate.schedule[i + 1].dateTime, 'YYYY/MM/DD HH:mm')
: dayjs.utc(program.dateTime, 'YYYY/MM/DD HH:mm').add(1, 'day').startOf('day'),
description: program.description,
icon: program.image,
image: program.image,
category: program.categoryName,
rating: program.ageRating
})

View File

@@ -28,7 +28,7 @@ it('can parse response', () => {
stop: dayjs.utc('2023/08/21 00:00', 'YYYY/MM/DD HH:mm'),
description:
'From blockchain to Buddha statues, Taiwans culture is a kaleidoscope of old and new just waiting to be discovered.',
icon: 'https://prod-img.taiwanplus.com/live-schedule/Single/S30668_20230810104937.webp',
image: 'https://prod-img.taiwanplus.com/live-schedule/Single/S30668_20230810104937.webp',
category: 'TaiwanPlus ✕ Discovery',
rating: '0+'
}