Refactor UTC transform
parent
a0a4a3a8df
commit
484a5fbd4c
|
@ -42,7 +42,7 @@ SprintGraphDirective = ($translate)->
|
|||
width = element.width()
|
||||
element.height(240)
|
||||
|
||||
days = _.map(dataToDraw, (x) -> moment(new Date(x.day).getTime()))
|
||||
days = _.map(dataToDraw, (x) -> moment.utc(x.day))
|
||||
|
||||
data = []
|
||||
data.unshift({
|
||||
|
|
Loading…
Reference in New Issue