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 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.

本文标签: rest apiWhat date to use as a post date dategmt or modifieddategmt