From 44e9b641a582b814f587299e19724b57e36e7178 Mon Sep 17 00:00:00 2001 From: RevGear <95308545+RevGear@users.noreply.github.com> Date: Sun, 15 Jan 2023 14:01:43 +0000 Subject: [PATCH] date not year --- sites/directv.com/directv.com.config.js | 2 +- sites/directv.com/directv.com.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sites/directv.com/directv.com.config.js b/sites/directv.com/directv.com.config.js index eaba7aa1..2dc71cdc 100644 --- a/sites/directv.com/directv.com.config.js +++ b/sites/directv.com/directv.com.config.js @@ -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, diff --git a/sites/directv.com/directv.com.test.js b/sites/directv.com/directv.com.test.js index 814c258e..59381862 100644 --- a/sites/directv.com/directv.com.test.js +++ b/sites/directv.com/directv.com.test.js @@ -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: {