Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 148ef07

Browse files
committed
Merge pull request #413 from angelcolmenares/master
Update DateTimeSerializer.cs
2 parents ac59017 + b7370fd commit 148ef07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ServiceStack.Text/Common/DateTimeSerializer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ private static string RepairXsdTimeSeparator(string dateTimeStr)
205205
var dateTime = new DateTime(int.Parse(dateParts[0]), int.Parse(dateParts[1]), int.Parse(dateParts[2]), hh, min, ss, ms, dateKind);
206206
if (subMs != 0)
207207
{
208-
dateTime.AddMilliseconds(subMs);
208+
dateTime=dateTime.AddMilliseconds(subMs);
209209
}
210210

211211
if (offsetMultiplier != 0 && timeOffset != null)
@@ -546,4 +546,4 @@ public static string ToWcfJsonDateTimeOffset(DateTimeOffset dateTimeOffset)
546546
}
547547
}
548548
}
549-
}
549+
}

0 commit comments

Comments
 (0)