CC-1750 hours needed floor for 5min show.
This commit is contained in:
parent
cf4e784129
commit
5836548075
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ function eventMenu(action, el, pos) {
|
|||
|
||||
length = event.end.getTime() - event.start.getTime();
|
||||
|
||||
h = length / (1000*60*60);
|
||||
h = Math.floor(length / (1000*60*60));
|
||||
m = (length % (1000*60*60)) / (1000*60);
|
||||
s = ((length % (1000*60*60)) % (1000*60)) / 1000;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue