Skip to content

Commit

Permalink
feeds: Fall back to updated date if there is no published date.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre D committed Dec 8, 2015
1 parent 94deb8a commit 5153fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/feeds/feeds.js
Expand Up @@ -272,7 +272,7 @@ var componentName = "wb-feeds",
items[ i ].fIcon = icon ;

if ( items[ i ].publishedDate === undef ) {
items[ i ].publishedDate = ( items[ i ].published || items[ i ].pubDate || "" );
items[ i ].publishedDate = ( items[ i ].published || items[ i ].pubDate || items[ i ].updated || "" );
}

var link = items[ i ].link;
Expand Down

0 comments on commit 5153fa3

Please sign in to comment.