Skip to content

Commit

Permalink
Cover multiple OT games in playoffs
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenyeargin committed Aug 12, 2020
1 parent 4e85d5a commit 4dc49d9
Show file tree
Hide file tree
Showing 4 changed files with 1,132 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/hockey.coffee
Expand Up @@ -67,7 +67,7 @@ module.exports = (robot) ->
gameStatus = "#{moment(game.gameDate).tz(team.time_zone).format('h:mm a z')}"
else
gameStatus = game.status.detailedState
if game.linescore.currentPeriodOrdinal == 'OT' || game.linescorecurrentPeriodOrdinal == 'SO'
if game.status.abstractGameState == 'Final' && game.linescore.currentPeriodOrdinal != '3rd'
gameStatus += "/#{game.linescore.currentPeriodOrdinal}"

table = new AsciiTable()
Expand Down

0 comments on commit 4dc49d9

Please sign in to comment.