Skip to content

Commit

Permalink
modification
Browse files Browse the repository at this point in the history
  • Loading branch information
amarzavery committed Apr 29, 2016
1 parent ff64ad6 commit 54cfaac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ClientRuntimes/NodeJS/ms-rest/lib/serialization.js
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,7 @@ function dateToUnixTime(d) {
if (typeof d.valueOf() === 'string') {
d = new Date(d);
}
var foo = parseInt(d.getTime() / 1000);
return foo;
return parseInt(d.getTime() / 1000);
}

function unixTimeToDate(n) {
Expand Down

0 comments on commit 54cfaac

Please sign in to comment.