File tree 8 files changed +8
-4
lines changed
8 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export const ClinicaltrialsGovExtractor = {
12
12
date_published : {
13
13
// selectors: ['span.term[data-term="Last Update Posted"]'],
14
14
selectors : [ 'div:has(> span.term[data-term="Last Update Posted"])' ] ,
15
+ timezone : 'UTC' ,
15
16
} ,
16
17
17
18
content : {
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ describe('ClinicaltrialsGovExtractor', () => {
58
58
59
59
// Update these values with the expected values from
60
60
// the article.
61
- assert . equal ( date_published , '2018-11-21T05 :00:00.000Z' ) ;
61
+ assert . equal ( date_published , '2018-11-21T00 :00:00.000Z' ) ;
62
62
} ) ;
63
63
64
64
it ( 'returns the content' , async ( ) => {
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ export const GeniusComExtractor = {
20
20
} ,
21
21
] ,
22
22
] ,
23
+ timezone : 'UTC' ,
23
24
} ,
24
25
25
26
dek : {
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ describe('GeniusComExtractor', () => {
53
53
54
54
// Update these values with the expected values from
55
55
// the article.
56
- assert . equal ( date_published , '1984-06-25T04 :00:00.000Z' ) ;
56
+ assert . equal ( date_published , '1984-06-25T00 :00:00.000Z' ) ;
57
57
} ) ;
58
58
59
59
it ( 'returns the lead_image_url' , async ( ) => {
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export const PeopleComExtractor = {
14
14
'.mntl-attribution__item-date' ,
15
15
[ 'meta[name="article:published_time"]' , 'value' ] ,
16
16
] ,
17
+ timezone : 'UTC' ,
17
18
} ,
18
19
19
20
lead_image_url : {
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ describe('PeopleComExtractor', () => {
56
56
57
57
// Update these values with the expected values from
58
58
// the article.
59
- assert . equal ( date_published , '2016-12-12T14 :22:00.000Z' ) ;
59
+ assert . equal ( date_published , '2016-12-12T09 :22:00.000Z' ) ;
60
60
} ) ;
61
61
62
62
it ( 'returns the lead_image_url' , async ( ) => {
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export const PitchforkComExtractor = {
14
14
15
15
date_published : {
16
16
selectors : [ 'div[class^="InfoSliceWrapper-"]' , [ '.pub-date' , 'datetime' ] ] ,
17
+ timezone : 'UTC' ,
17
18
} ,
18
19
19
20
dek : {
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ describe('PitchforkComExtractor', () => {
41
41
it ( 'returns the date_published' , async ( ) => {
42
42
const { date_published } = await result ;
43
43
44
- assert . equal ( date_published , '2019-06-07T04 :00:00.000Z' ) ;
44
+ assert . equal ( date_published , '2019-06-07T00 :00:00.000Z' ) ;
45
45
} ) ;
46
46
47
47
it ( 'returns the dek' , async ( ) => {
You can’t perform that action at this time.
0 commit comments