Changed json date format to standard iso

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti 2012-09-05 12:34:08 -04:00
parent c3d2f63776
commit 5dd7080084

View File

@ -64,9 +64,9 @@ namespace MediaBrowser.Common.Serialization
{ {
if (!IsConfigured) if (!IsConfigured)
{ {
ServiceStack.Text.JsConfig.DateHandler = ServiceStack.Text.JsonDateHandler.ISO8601;
ServiceStack.Text.JsConfig.ExcludeTypeInfo = true; ServiceStack.Text.JsConfig.ExcludeTypeInfo = true;
ServiceStack.Text.JsConfig.IncludeNullValues = false; ServiceStack.Text.JsConfig.IncludeNullValues = false;
IsConfigured = true; IsConfigured = true;
} }
} }