bug fix for #768

This commit is contained in:
Diego Najar 2018-09-06 20:52:41 +02:00
parent d62e19707b
commit f0895796cd
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class pluginSitemap extends Plugin {
$page = new Page($pageKey);
$xml .= '<url>';
$xml .= '<loc>'.$page->permalink().'</loc>';
$xml .= '<lastmod>'.$page->dateRaw(SITEMAP_DATE_FORMAT).'</lastmod>';
$xml .= '<lastmod>'.$page->date(SITEMAP_DATE_FORMAT).'</lastmod>';
$xml .= '<changefreq>daily</changefreq>';
$xml .= '</url>';
} catch (Exception $e) {