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 5cb0d2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/freeze.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ 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: ' +
'<!-- ' + JSON.stringify(props) + '-->'
body: 'Sure thing. I\'ll close this issue for a bit. I\'ll ping you around ' +
moment(props.unfreezeMoment).calendar() + ' :clock1: ' +
'<!--snooze: ' + JSON.stringify(props) + '-->'
}));
}

Expand Down

0 comments on commit 5cb0d2e

Please sign in to comment.