fixed calculations displaying time
timeline graph fixed