Skip to content

Commit

Permalink
Use moment to parse time for comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Aug 29, 2017
1 parent a29eaa1 commit e42b2f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/freeze.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ module.exports = class Freeze {
}));

this.github.issues.createComment(context.issue({
body: 'Sure thing. I\'ll close this issue for a bit. I\'ll ping you around ' + props.unfreezeMoment.calendar() + ' :clock1: ' +
body: 'Sure thing. I\'ll close this issue for a bit. I\'ll ping you around ' +
moment(props.unfreezeMoment).calendar() + ' :clock1: ' +
'<!-- ' + JSON.stringify(props) + '-->'
}));
}
Expand Down

0 comments on commit e42b2f7

Please sign in to comment.