Skip to content

Commit

Permalink
ensures milliseconds time can't go to 10 by using floor instead of ro…
Browse files Browse the repository at this point in the history
…und #37.
  • Loading branch information
MathieuNls committed Jul 19, 2016
1 parent 57efeb8 commit 904e35a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/pages/time/time.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<div class="seconds-analog">
<span class="seconds-count">
{{addZero(date.getSeconds())}}.{{Math.round(date.getMilliseconds() / 100)}}
{{addZero(date.getSeconds())}}.{{Math.floor(date.getMilliseconds() / 100)}}
</span>
<span class="offset innactive">
{{addSign(Math.round(offset/1000*100)/100)}}
Expand Down

0 comments on commit 904e35a

Please sign in to comment.