最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

rest api - What date to use as a post date? date_gmt or modified_date_gmt

programmeradmin1浏览0评论

I am consuming a rest service with the posts, and get both date_gmt and modified_date_gmt ...

What realy is the difference ? Is the modified_date a publish date also?

Any way, if I am presenting only one "News date", which date should I present as the most liable source ?

I am consuming a rest service with the posts, and get both date_gmt and modified_date_gmt ...

What realy is the difference ? Is the modified_date a publish date also?

Any way, if I am presenting only one "News date", which date should I present as the most liable source ?

Share Improve this question asked Aug 22, 2019 at 9:59 Diogo CordeiroDiogo Cordeiro 1
Add a comment  | 

1 Answer 1

Reset to default 1

Publish date - The date on which a post or page is created/Published

Modified_date - The date of the post with recent modification

If you are presenting only one "News date", you can use modified_date because news are always updating. The the users can easily understand.

发布评论

评论列表(0)

  1. 暂无评论