feat: Add date formats to two extractors (#660)

These extractors were variously failing tests as I tried updating dependencies. It seems like some of the format detection logic has changed, and making these date detectors more explicit fixes them.
pull/661/head
John Holdun 2 years ago committed by GitHub
parent 8dd3c7078a
commit 65e338a403
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,7 +11,7 @@ export const IciRadioCanadaCaExtractor = {
date_published: {
selectors: [['meta[name="dc.date.created"]', 'value']],
format: 'YYYY-MM-DD|HH[h]mm',
timezone: 'America/New_York',
},

@ -16,6 +16,7 @@ export const WwwDmagazineComExtractor = {
],
timezone: 'America/Chicago',
format: 'MMMM D, YYYY h:mm a',
},
dek: {

Loading…
Cancel
Save