diff --git a/resources/static/shared/modules/interaction_data.js b/resources/static/shared/modules/interaction_data.js index ff0c977231e68796dd44c5e26069334250931ff5..8f36514dac7ddc5f6f13dccd4d4e6a593f105ef5 100644 --- a/resources/static/shared/modules/interaction_data.js +++ b/resources/static/shared/modules/interaction_data.js @@ -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,