<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    {% for url in url_set %}
        <url>
            <loc>{{ url.localization }}</loc>
            {% if url.lastModification is defined %}
                <lastmod>{{ url.lastModification|format_date("Y-M-d'T'HH:mm:ssZZZZZ") }}</lastmod>
            {% endif %}
            {% if url.changeFrequency is defined %}
                <changefreq>{{ url.changeFrequency }}</changefreq>
            {% endif %}
            {% if url.priority is defined %}
                <priority>{{ url.priority }}</priority>
            {% endif %}
        </url>
    {% endfor %}
</urlset>

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    {% for url in url_set %}
        <url>
            <loc>{{ url.localization }}</loc>
            {% if url.lastModification is defined %}
                <lastmod>{{ url.lastModification|date('c') }}</lastmod>
            {% endif %}
            {% if url.changeFrequency is defined %}
                <changefreq>{{ url.changeFrequency }}</changefreq>
            {% endif %}
            {% if url.priority is defined %}
                <priority>{{ url.priority }}</priority>
            {% endif %}
        </url>
    {% endfor %}
</urlset>

Revert sitemap localized date to date
[Locale] Revert sitemap localized date to date
