admin管理员组文章数量:1415145
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 11 Answer
Reset to default 1Publish 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.
本文标签: rest apiWhat date to use as a post date dategmt or modifieddategmt
版权声明:本文标题:rest api - What date to use as a post date? date_gmt or modified_date_gmt 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745226493a2648629.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论