date not year

This commit is contained in:
RevGear 2023-01-15 14:01:43 +00:00
parent b016020487
commit 44e9b641a5
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ module.exports = {
sub_title: item.episodeTitle,
description: parseDescription(detail),
rating: parseRating(item),
year: parseYear(detail),
date: parseYear(detail),
category: item.subcategoryList,
season: item.seasonNumber,
episode: item.episodeNumber,

View file

@ -59,7 +59,7 @@ it('can parse response', done => {
title: 'Men in Black II',
description:
'Kay (Tommy Lee Jones) and Jay (Will Smith) reunite to provide our best line of defense against a seductress who levels the toughest challenge yet to the MIBs mission statement: protecting the earth from the scum of the universe. While investigating a routine crime, Jay uncovers a plot masterminded by Serleena (Boyle), a Kylothian monster who disguises herself as a lingerie model. When Serleena takes the MIB building hostage, there is only one person Jay can turn to -- his former MIB partner.',
year: '2002',
date: '2002',
icon: 'https://www.directv.com/db_photos/movies/AllPhotosAPGI/29160/29160_aa.jpg',
category: [ 'Comedy','Movies Anywhere','Action/Adventure','Science Fiction' ],
rating: {