Skip to content

Commit

Permalink
Merge pull request #12 from kartverket/setThreadCultureInfo
Browse files Browse the repository at this point in the history
Provider: Set thread cultureInfo
  • Loading branch information
Jarle Pedersen committed Jul 20, 2018
2 parents 418e97a + 7f8cfe1 commit 58307fa
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading;
using System.Xml;
using System.Xml.Linq;
using System.Xml.XPath;
Expand Down Expand Up @@ -582,6 +584,8 @@ private XElement BuildChangelogRoot(int datasetId)
string schemaLocation = nsChlogf.NamespaceName + " " + ServiceData.SchemaLocation();
schemaLocation += " " + _pNsApp + " " + _pSchemaFileUri;

Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");

//"2001-12-17T09:30:47Z"
XElement changelogRoot =
new XElement(nsChlogf + "TransactionCollection",
Expand Down

0 comments on commit 58307fa

Please sign in to comment.