Skip to content

Commit

Permalink
Merge pull request #1 from stegus64/pr-154
Browse files Browse the repository at this point in the history
Fix for #154. Removed incorrect call to ToUniversalTime()
  • Loading branch information
stegus64 authored Aug 2, 2019
2 parents 0b2f1d6 + be884ae commit c95f529
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Snowflake.Data/Core/SFDataConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ internal static Tuple<string, string> csharpTypeValToSfTypeVal(DbType srcType, o
}
else
{
long millis = (long)((DateTime)srcVal).ToUniversalTime().Subtract(
UnixEpoch).TotalMilliseconds;
long millis = (long)((DateTime)srcVal).Subtract(UnixEpoch).TotalMilliseconds;
destVal = millis.ToString();
}
break;
Expand Down

0 comments on commit c95f529

Please sign in to comment.