[Backport] use javascript dates to allow render flot points on the right place

stable
Juan F. Pérez 2017-05-09 13:51:41 +02:00 committed by Alejandro Alonso
parent 69e6e7241d
commit b3f15414fa
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ SprintGraphDirective = ($translate)->
width = element.width() width = element.width()
element.height(240) element.height(240)
days = _.map(dataToDraw, (x) -> moment(x.day)) days = _.map(dataToDraw, (x) -> moment(new Date(x.day).getTime()))
data = [] data = []
data.unshift({ data.unshift({