<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type='text/xsl' href='$StylesheetPath'?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
	<% loop $Items %>
        <url>
            <loc>$AbsoluteLink</loc>
            <% if $LastEdited %><lastmod>$LastEdited.Format("y-MM-dd'T'HH:mm:ss")</lastmod><% end_if %>
            <% if $ChangeFrequency %><changefreq>$ChangeFrequency</changefreq><% end_if %>
            <% if $GooglePriority %><priority>$GooglePriority</priority><% end_if %>
            <% if $Locales %><% loop $Locales %><% if $LinkingMode != 'invalid' %>
            <xhtml:link
                rel="alternate"
                hreflang="$LocaleRFC1766"
                href="$AbsoluteLink"
                />
            <% end_if %><% end_loop %><% end_if %>
        </url>
	<% end_loop %>
</urlset>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type='text/xsl' href='$StylesheetPath'?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
	<% loop $Items %>
        <url>
            <loc>$AbsoluteLink</loc>
            <% if $LastEdited %><lastmod>$LastEdited.Rfc3339()</lastmod><% end_if %>
            <% if $ChangeFrequency %><changefreq>$ChangeFrequency</changefreq><% end_if %>
            <% if $GooglePriority %><priority>$GooglePriority</priority><% end_if %>
            <% if $Locales %><% loop $Locales %><% if $LinkingMode != 'invalid' %>
            <xhtml:link
                rel="alternate"
                hreflang="$LocaleRFC1766"
                href="$AbsoluteLink"
                />
            <% end_if %><% end_loop %><% end_if %>
        </url>
	<% end_loop %>
</urlset>

Update date format in sitemap template to ensure timezone offset is included as required by Google.
Update date format in sitemap template to ensure timezone offset is included as required by Google.
