[Backport] use javascript dates to allow render flot points on the right place
parent
69e6e7241d
commit
b3f15414fa
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue