fix: few more extractor updates

fix-remove-moment-js
touchRED 1 year ago
parent 3c336ef155
commit c49b5efc7a

@ -24,8 +24,6 @@ export const GothamistComExtractor = {
'abbr', 'abbr',
'abbr.published', 'abbr.published',
], ],
timezone: 'America/New_York',
}, },
dek: { dek: {

@ -11,7 +11,6 @@ export const NewsNationalgeographicComExtractor = {
date_published: { date_published: {
selectors: [['meta[name="article:published_time"]', 'value']], selectors: [['meta[name="article:published_time"]', 'value']],
timezone: 'America/New_York',
}, },
dek: { dek: {

@ -11,7 +11,7 @@ export const WwwAlComExtractor = {
date_published: { date_published: {
selectors: [['meta[name="article_date_original"]', 'value']], selectors: [['meta[name="article_date_original"]', 'value']],
timezone: 'EST', timezone: 'CST',
}, },
lead_image_url: { lead_image_url: {

@ -57,7 +57,7 @@ describe('WwwAlComExtractor', () => {
// Update these values with the expected values from // Update these values with the expected values from
// the article. // the article.
assert.equal(date_published, '2016-12-22T23:47:00.000Z'); assert.equal(date_published, '2016-12-23T00:47:00.000Z');
}); });
it('returns the lead_image_url', async () => { it('returns the lead_image_url', async () => {

Loading…
Cancel
Save