增加->format('c')

master
LiaoYijun 4 months ago
parent ae697e9a66
commit 9544f062f5

@ -8,8 +8,8 @@
},
"headline": "<?php echo $information->ic_seo_title; ?>",
"image": <?php echo $article_image_urls; ?>,
"datePublished": "<?php echo $article_published_date; ?>",
"dateModified": "<?php echo $article_modified_date; ?>",
"datePublished": "<?php echo $article_published_date->format('c'); ?>",
"dateModified": "<?php echo $article_modified_date->format('c'); ?>",
"author": {
"@type": "Person",
"name": "<?php echo $author_name; ?>",

Loading…
Cancel
Save