d78e4af7 by Jeff Balicki

qa

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent ccd8868e
......@@ -61,7 +61,7 @@ function pull_posts_for_post_list( $data ) {
$img = get_post_meta($post->ID, 'photo_from_source', true);
}
$new_posts[] = ['date'=>wp_date( ' F j, Y', get_post_timestamp($post->ID)),
$new_posts[] = ['date'=>date_i18n( ' F j, Y', get_post_timestamp($post->ID)),
'article_author'=>$article_author,'author_title'=>$author_title,
'author_company'=>$author_company,'href'=>get_permalink($post),'title'=>$post->post_title,
'text'=>$excerpt,'img_src'=>$img];
......@@ -116,7 +116,7 @@ function pull_posts_for_post_list( $data ) {
if(!$img) {
$img = get_post_meta($post->ID, 'photo_from_source', true);
}
$posts[] = ['date'=>wp_date( ' F j, Y', get_post_timestamp($post->ID)),
$posts[] = ['date'=>date_i18n( ' F j, Y', get_post_timestamp($post->ID)),
'article_author'=>$article_author,'author_title'=>$author_title,
'author_company'=>$author_company,'href'=>get_permalink($post),'title'=>$post->post_title,
'text'=>$excerpt,'img_src'=>$img];
......