mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-11 20:21:03 +00:00
Update http.js
This commit is contained in:
parent
e3505e8cba
commit
a9162717d2
|
@ -39,7 +39,7 @@ var HTTPObject = function(engine) {
|
|||
},
|
||||
"unixnowms": function(diff) { // e.g. {unixnowms -300000} (milliseconds)
|
||||
var t = parseInt(diff);
|
||||
return new Date().getTime() - t;
|
||||
return Math.floor(new Date().getTime()) - t;
|
||||
}
|
||||
};
|
||||
this.connectTimeout = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user