Skip to content

Commit

Permalink
Fix invalid lastmod date format in sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
wanze committed Feb 17, 2019
1 parent ddf7df7 commit aaf8e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/sitemap.xml.php
Expand Up @@ -9,7 +9,7 @@
<?php if (!$page->viewable($language)) continue; ?>
<url>
<loc><?= $baseUrl ? $baseUrl . $page->localUrl($language) : $page->localHttpUrl($language) ?></loc>
<lastmod><?= $page->modifiedStr ?></lastmod>
<lastmod><?= date('c', $page->modified) ?></lastmod>
<changefreq><?= $page->seoMaestroSitemapData->changeFrequency ?></changefreq>
<priority><?= $page->seoMaestroSitemapData->priority ?></priority>
<?php foreach ($languages as $language): ?>
Expand Down

0 comments on commit aaf8e7d

Please sign in to comment.