From 5acb2307a6b545ebea93cd62e880db1671a92e59 Mon Sep 17 00:00:00 2001 From: ksa-live Date: Fri, 20 May 2022 03:40:27 +0300 Subject: [PATCH 1/3] Update elcinema.com.config.js --- sites/elcinema.com/elcinema.com.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/elcinema.com/elcinema.com.config.js b/sites/elcinema.com/elcinema.com.config.js index 99291231..9a8388bf 100644 --- a/sites/elcinema.com/elcinema.com.config.js +++ b/sites/elcinema.com/elcinema.com.config.js @@ -77,7 +77,7 @@ function parseStart(item, initDate) { time = `${initDate.format('DD/MM/YYYY')} ${time}` - return dayjs.tz(time, 'DD/MM/YYYY H:mm A', 'Africa/Cairo') + return dayjs.tz(time, 'DD/MM/YYYY H:mm A', 'Saudi Arabia/Riyadh') } function parseTitle(item) { From 197e68a911a47e584de86d6cd0e429aa08785799 Mon Sep 17 00:00:00 2001 From: ksa-live Date: Thu, 26 May 2022 17:17:44 +0300 Subject: [PATCH 2/3] Update elcinema.com.config.js --- sites/elcinema.com/elcinema.com.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/elcinema.com/elcinema.com.config.js b/sites/elcinema.com/elcinema.com.config.js index 9a8388bf..d0ff34bd 100644 --- a/sites/elcinema.com/elcinema.com.config.js +++ b/sites/elcinema.com/elcinema.com.config.js @@ -77,7 +77,7 @@ function parseStart(item, initDate) { time = `${initDate.format('DD/MM/YYYY')} ${time}` - return dayjs.tz(time, 'DD/MM/YYYY H:mm A', 'Saudi Arabia/Riyadh') + return dayjs.tz(time, 'DD/MM/YYYY H:mm A', 'Asia/Riyadh') } function parseTitle(item) { From 86bf2926a418e5a26650bebc616fa5578f339c6b Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Fri, 17 Jun 2022 02:02:07 +0300 Subject: [PATCH 3/3] Update elcinema.com.test.js --- sites/elcinema.com/elcinema.com.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sites/elcinema.com/elcinema.com.test.js b/sites/elcinema.com/elcinema.com.test.js index c79453d3..4d9b69d9 100644 --- a/sites/elcinema.com/elcinema.com.test.js +++ b/sites/elcinema.com/elcinema.com.test.js @@ -29,8 +29,8 @@ it('can generate valid url', () => { it('can parse response (en)', () => { expect(parser({ date, channel: channelEN, content: contentEN })).toMatchObject([ { - start: '2021-11-11T08:00:00.000Z', - stop: '2021-11-11T10:00:00.000Z', + start: '2021-11-11T07:00:00.000Z', + stop: '2021-11-11T09:00:00.000Z', title: 'Good Morning Arab', icon: 'https://media.elcinema.com/uploads/_150x200_5659fb4f174c49b54cc14cb53e70a5467abef429b5bb9d1a1cf2a40aa37562b2.jpg', description: `As Abdel Mohsen passes away and his will is read to the family members, the true essence of each of them emerges, resulting in unthinkable discord. `, @@ -42,8 +42,8 @@ it('can parse response (en)', () => { it('can parse response (ar)', () => { expect(parser({ date, channel: channelAR, content: contentAR })).toMatchObject([ { - start: '2021-11-11T10:30:00.000Z', - stop: '2021-11-11T11:00:00.000Z', + start: '2021-11-11T09:30:00.000Z', + stop: '2021-11-11T10:00:00.000Z', title: 'أحلى ما طاش', icon: 'https://media.elcinema.com/uploads/_150x200_2f74473c92a69d7bfd25bd7fca8576168e8a58da4dd5cb8222eb1297caa13915.jpg', description: ` يعيد برنامج (أحلى ما طاش) عرضا لمجموعة من أفضل الحلقات التي تم تقديمها من خلال المسلسل الكوميدي السعودي (طاش ما طاش)، والذي استمر عرضه على التليفزيون السعودي لمدة 18 موسمًا متواصلًا، والتي ناقش من خلالها (ناصر القصبي) و(عبدالله السدحان) مجموعة من القضايا الاجتماعية التي تشغل بال المجتمع السعودي بطريقة ساخرة. `,