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'],
'.date-display-single',
],
timezone: 'America/New_York',
// timezone: 'America/New_York',
},
lead_image_url: {

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

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

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

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

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

Loading…
Cancel
Save