Fixed date format
authorMarcel Werk <burntime@woltlab.com>
Mon, 11 Jul 2016 14:40:49 +0000 (16:40 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 11 Jul 2016 14:40:49 +0000 (16:40 +0200)
com.woltlab.wcf/templates/ampArticle.tpl

index 396506e3379818a602382516f4fa2af27668c7e7..9ce2344d8e0b26fe053763fb72bd6b94cb845602 100644 (file)
@@ -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",