Revisit Dates.
Article for testing dates in wordpress and content API !! https://hisnob.atlassian.net/browse/HSNB-562
Further valuable information to the user copied from the ticket description
While developing on NFE, Nynke de Boer and me found some interesting cases:
The flexdate field is updated whenever you visit the preview (instead it should update when you publish)
The flexdate field should always match the last time you published the article (from our understanding) and therefore it should be the same as publishedAt (from our understanding)
Why do we need the updatedAt field at all??
We extracted the following information for one article on the three parts of our application:
WP post_date: 2020-10-10 11:51:05 post_date_gmt: 2020-10-10 09:51:05 post_modified: 2020-10-14 16:55:15 post_modified_gmt: 2020-10-14 14:55:15 flexdate: 1602687310 (14.10.2020 14:55:10 GMT)
CONTENT API: post_date: 2020-10-14 16:55:15 created_at: 2020-10-10 11:51:05 modified_at: 2020-10-14 16:55:15