rankmath / seo-by-rank-math

Rank Math is a revolutionary WordPress SEO Plugin that combines the features of many SEO tools and lets you multiply your traffic in the easiest way possible :bulb: :chart_with_upwards_trend: →
https://rankmath.com
107 stars 52 forks source link

[Sitemap/Video Sitemap]: Dates of the videos inaccurate #183

Closed Nickbahson closed 1 year ago

Nickbahson commented 1 year ago

Describe the bug When adding the Video Schema manually and letting the upload date default to the date(Y-m-dTH:i:sP) variable the output of the sitemap includes the same date for all videos.

To Reproduce Steps to reproduce the behavior:

  1. Create 2 different posts/pages with different creation dates.
  2. Add the default Video Schema without modifications to those pages.
  3. Check the dates in the Video Sitemap.

Expected behavior Since this variable should be parsed to different dates, those should be reflected in the sitemap.

Fixed shared