Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
Small bugfix. Missed a find/replace
Browse files Browse the repository at this point in the history
  • Loading branch information
John Kordich committed Jun 28, 2016
1 parent 9f348f2 commit 379bc1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ internal object ConvertToNativeLayer()
(int)this.interval.minutes,
(int)this.interval.seconds,
(int)this.interval.microseconds / 1000);
long microsecondsUnaccounted = datetime.interval.microseconds % 1000;
long microsecondsUnaccounted = this.interval.microseconds % 1000;
TimeSpan ticksUnaccountedTimeSpan = new TimeSpan(microsecondsUnaccounted * 10); // since 1 microsecond == 10 ticks

return managedTimeSpan.Add(ticksUnaccountedTimeSpan);
Expand Down

0 comments on commit 379bc1d

Please sign in to comment.