From 5797ef886fd07c596646532bca1cab5e192fe83d Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 11 Jul 2016 16:40:49 +0200 Subject: [PATCH] Fixed date format --- com.woltlab.wcf/templates/ampArticle.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com.woltlab.wcf/templates/ampArticle.tpl b/com.woltlab.wcf/templates/ampArticle.tpl index 396506e337..9ce2344d8e 100644 --- a/com.woltlab.wcf/templates/ampArticle.tpl +++ b/com.woltlab.wcf/templates/ampArticle.tpl @@ -7,8 +7,8 @@ "@type": "NewsArticle", "mainEntityOfPage": "{$regularCanonicalURL}", "headline": "{$articleContent->title}", - "datePublished": "{@$article->time|plainTime}", - "dateModified": "{@$article->time|plainTime}", + "datePublished": "{@$article->time|date:'c'}", + "dateModified": "{@$article->time|date:'c'}", "description": "{@$articleContent->getFormattedTeaser()}", "author": { "@type": "Person", -- 2.20.1