Changed json date format to standard iso
This commit is contained in:
parent
c3d2f63776
commit
5dd7080084
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user