Commit 0c44fba024ba912c1cb6cb7522f3faa46b23f274
1 parent
da95f797
Exists in
master
Colocando de volta o +1 e trocando o Match.round por Math.floor
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
recipes/copa2014/assets/counter.coffee
... | ... | @@ -9,7 +9,7 @@ window._barrabrasil.copa_counter = () -> |
9 | 9 | t = new Date() |
10 | 10 | c = new Date(2014, 5, 12, 0, 0, 0) |
11 | 11 | h = "" |
12 | - e = String(Math.round(Math.abs((t.getTime() - c.getTime()) / (24 * 60 * 60 * 1000)))) | |
12 | + e = String(Math.floor(Math.abs((t.getTime() - c.getTime()) / (24 * 60 * 60 * 1000))) + 1) | |
13 | 13 | a = (e).split("") |
14 | 14 | |
15 | 15 | i = 0 | ... | ... |