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:
parent
1a5ec1b996
commit
06fa2ab343
6 changed files with 8 additions and 8 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue