Found issue with XMLserialization using local time to serialize instead of UTC. Changed to be consistent with rest of project.

This commit is contained in:
Ravenwolfe 2014-04-13 22:03:06 -05:00
parent 1a5ec1b996
commit 06fa2ab343
6 changed files with 8 additions and 8 deletions

View file

@ -63,7 +63,7 @@ namespace Server.Engines.Reports
public override void SetDateTime( string key, DateTime value )
{
if ( value != DateTime.MinValue )
m_Xml.WriteAttributeString( key, XmlConvert.ToString( value, XmlDateTimeSerializationMode.Local ) );
m_Xml.WriteAttributeString( key, XmlConvert.ToString( value, XmlDateTimeSerializationMode.Utc ) );
}
public override void BeginObject( PersistableType typeID )