Skip to content

Commit

Permalink
Fix milliseconds to seconds + blue header #58
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuNls committed Feb 8, 2016
1 parent c509567 commit e24b7e3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions application/controllers/Measures.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,10 @@ public function get_accuracy() {

$this->event->add(ACCURACY_LOAD);

array_push($this->_headerData['javaScripts'], "input.time.logic");

$this->_headerData['headerClass'] = 'blue';
array_push($this->_headerData['javaScripts'], "input.time.logic",
"watch.animation");

$this->load->view('header', $this->_headerData);

Expand Down Expand Up @@ -308,8 +311,8 @@ function accuracyMeasure() {
//Add the watch measure
$watchMeasure = $this->measure->addAccuracyMesure(
$this->measureId,
$this->referenceTimestamp,
$this->userTimestamp
$this->referenceTimestamp/1000,
$this->userTimestamp/1000
);

// If the computed accuracy makes sense, we return success
Expand Down

0 comments on commit e24b7e3

Please sign in to comment.