Skip to content

Commit

Permalink
Fix date diffing inverted arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
f-f authored and zudov committed Nov 27, 2017
1 parent 86e58be commit 9792824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dashboard/Model.purs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ makePipelineRow jobs =
$ reverse
$ sort
$ mapMaybe (\j -> toDateTime =<< j.finished_at) pipelineJobs
pure $ diff started finished
pure $ diff finished started

-- | Given all the Jobs for a Project, makes a PipelineRow out of each Pipeline
makeProjectRows :: Jobs -> Array PipelineRow
Expand Down

0 comments on commit 9792824

Please sign in to comment.