Merge pull request #140 from zanderwar/pulls/fixes/139

FIX missing timezone designator
This commit is contained in:
Will Rossiter 2018-03-02 08:34:35 +13:00 committed by GitHub
commit 36ef636249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
<% loop $Items %> <% loop $Items %>
<url> <url>
<loc>$AbsoluteLink</loc> <loc>$AbsoluteLink</loc>
<% if $LastEdited %><lastmod>$LastEdited.Format("y-MM-dd'T'HH:mm:ss")</lastmod><% end_if %> <% if $LastEdited %><lastmod>$LastEdited.Rfc3339()</lastmod><% end_if %>
<% if $ChangeFrequency %><changefreq>$ChangeFrequency</changefreq><% end_if %> <% if $ChangeFrequency %><changefreq>$ChangeFrequency</changefreq><% end_if %>
<% if $GooglePriority %><priority>$GooglePriority</priority><% end_if %> <% if $GooglePriority %><priority>$GooglePriority</priority><% end_if %>
</url> </url>