Skip to content
Snippets Groups Projects
Commit b6792c8d authored by Shane Tomlinson's avatar Shane Tomlinson
Browse files

Merge branch 'dev' into client_dir_structure

parents a56b4aec 1da3da3f
No related branches found
No related tags found
No related merge requests found
......@@ -124,9 +124,9 @@ BrowserID.Modules.InteractionData = (function() {
// server_time is sent in milliseconds. The promise to users and data
// safety is the timestamp would be at a 10 minute resolution. Round to the
// nearest 10 minute mark.
// previous 10 minute mark.
var TEN_MINS_IN_MS = 10 * 60 * 1000,
roundedServerTime = Math.round(result.server_time / TEN_MINS_IN_MS) * TEN_MINS_IN_MS;
roundedServerTime = Math.floor(result.server_time / TEN_MINS_IN_MS) * TEN_MINS_IN_MS;
var currentData = {
event_stream: self.initialEventStream,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment