fix: update some extractors to remove unnecessary timezones

fix-remove-moment-js
touchRED 1 year ago
parent 6a5f892c68
commit 8ad9309e3b

@ -22,7 +22,7 @@ export const WwwMentalflossComExtractor = {
['meta[name="article:published_time"]', 'value'], ['meta[name="article:published_time"]', 'value'],
'.date-display-single', '.date-display-single',
], ],
timezone: 'America/New_York', // timezone: 'America/New_York',
}, },
lead_image_url: { lead_image_url: {

@ -47,7 +47,7 @@ export const NewYorkerExtractor = {
'time.content-header__publish-date', 'time.content-header__publish-date',
['meta[name="pubdate"]', 'value'], ['meta[name="pubdate"]', 'value'],
], ],
timezone: 'America/New_York', // timezone: 'America/New_York',
}, },
lead_image_url: { lead_image_url: {

@ -18,7 +18,7 @@ export const WwwRawstoryComExtractor = {
'.blog-author a:last-of-type', '.blog-author a:last-of-type',
], ],
timezone: 'EST', // timezone: 'EST',
}, },
lead_image_url: { lead_image_url: {

@ -15,7 +15,7 @@ export const WwwRollingstoneComExtractor = {
'time.content-published-date', 'time.content-published-date',
], ],
timezone: 'America/New_York', // timezone: 'America/New_York',
}, },
dek: { dek: {

@ -12,7 +12,7 @@ export const WwwSiComExtractor = {
date_published: { date_published: {
selectors: [['meta[name="published"]', 'value']], selectors: [['meta[name="published"]', 'value']],
timezone: 'America/New_York', // timezone: 'America/New_York',
}, },
dek: { dek: {

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

Loading…
Cancel
Save