fix: added timezone to new republic date (#32)

pull/36/head
Adam Pash 8 years ago committed by GitHub
parent cfe7f34be4
commit 233ca11a33

@ -19,6 +19,8 @@ export const NewrepublicComExtractor = {
selectors: [
['meta[name="article:published_time"]', 'value'],
],
timezone: 'America/New_York',
},
dek: {

@ -95,7 +95,7 @@ describe('NewrepublicComExtractor', () => {
// Update these values with the expected values from
// the article.
assert.equal(date_published, '2016-11-18T00:00:00.000Z');
assert.equal(date_published, '2016-11-18T05:00:00.000Z');
});
it('returns the dek', async () => {

Loading…
Cancel
Save