Skip to content

All checks / Structured data

Article schema missing datePublished

The Article, BlogPosting or NewsArticle markup has no datePublished.

Info article-dates-missing

In SEOCode's checks since 22 Oct 2026


Why this matters.

The Article, BlogPosting or NewsArticle markup has no datePublished. Search engines and AI answers use it to judge how fresh the page is. The date should be in ISO 8601 format. Google recommends providing timezone information; otherwise Google will default to the timezone used by Googlebot. The dateModified property is also recommended and should be updated whenever the article content changes. Both datePublished and dateModified are optional properties but Google does not show a warning for them, they are only recommended if you decide they are applicable to your site.

Runs on .html .jsx .tsx .vue .svelte · Advisory checks point at an improvement. They never block a merge.


How to resolve it.

Add "datePublished" in ISO 8601 form with timezone, for example "2026-10-26T08:00:00+00:00", and "dateModified" when you update the page. Both should include timezone information to avoid Google defaulting to Googlebot's timezone.

SEOCode writes this fix for you

On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.


Where this comes from.

01

Article

developers.google.com

Using a framework? Next.js · SvelteKit · Nuxt



Every check, on every pull request.

SEOCode runs the full ruleset on each change and comments the fixes inline.

Free for public repositories · no credit card