Skip to content

Commit

Permalink
Don't localize Sitemap priority
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Jun 22, 2016
1 parent f17de74 commit 40277bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ServiceStack/SitemapFeature.cs
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using ServiceStack.Host.Handlers;
using ServiceStack.Text;
Expand Down Expand Up @@ -212,7 +213,7 @@ public override void ProcessRequest(IRequest httpReq, IResponse httpRes, string
if (url.ChangeFrequency != null)
xml.AppendLine(" <changefreq>{0}</changefreq>".Fmt(url.ChangeFrequency.Value.ToString().ToLower()));
if (url.Priority != null)
xml.AppendLine(" <priority>{0}</priority>".Fmt(url.Priority));
xml.AppendLine(" <priority>{0}</priority>".Fmt(url.Priority.Value.ToString(CultureInfo.InvariantCulture)));

if (url.CustomXml != null)
xml.AppendLine(url.CustomXml);
Expand Down

0 comments on commit 40277bf

Please sign in to comment.