We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 116a8a8 commit a9dd37aCopy full SHA for a9dd37a
src/Plugins/Client/SignatureAdd.js
@@ -49,10 +49,7 @@ class SignatureAdd extends JSONRPC.ClientPluginBase
49
*/
50
async beforeJSONEncode(outgoingRequest)
51
{
52
- // Not setting expires to allow HTTP caching AND because the browser machine's UTC time is wrong for a lot of users.
53
- // Unknowingly users are setting the wrong timezone with the wrong UTC time, while the local time *appears* to be correct.
54
-
55
- outgoingRequest.requestObject["expires"] = parseInt((new Date().getTime()) + 86400, 10);
+ outgoingRequest.requestObject["expires"] = parseInt((new Date().getTime()) / 1000 + 86400, 10);
56
}
57
58
0 commit comments