diff --git a/Kartverket.Geosynkronisering.Server/Kartverket.Geosynkronisering/ChangelogProviders/SpatialDbChangelog.cs b/Kartverket.Geosynkronisering.Server/Kartverket.Geosynkronisering/ChangelogProviders/SpatialDbChangelog.cs index 0bc64bb..d49c921 100644 --- a/Kartverket.Geosynkronisering.Server/Kartverket.Geosynkronisering/ChangelogProviders/SpatialDbChangelog.cs +++ b/Kartverket.Geosynkronisering.Server/Kartverket.Geosynkronisering/ChangelogProviders/SpatialDbChangelog.cs @@ -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; @@ -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",