Skip to content

Commit 3a83ab6

Browse files
committed
Comment
1 parent 6ff3096 commit 3a83ab6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

RestSharp/Deserializers/JsonDeserializer.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ private object ConvertValue(Type type, object value)
277277
{
278278
return timeSpan;
279279
}
280-
//
280+
281+
// This should handle ISO 8601 durations
281282
return XmlConvert.ToTimeSpan(stringValue);
282283
}
283284
else if (type.IsGenericType)

0 commit comments

Comments
 (0)