Skip to content

Commit

Permalink
Remove timezones since it doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipuniverse committed Jul 26, 2017
1 parent cb8bc22 commit 77447dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion gitter-to-slack.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var req = https.request(options, function(res) {
var gitterData = JSON.parse(msg);
var slackMessage = '<https://gitter.im/' + gitterRoomSlug + '?at=' + gitterData.id;
slackMessage += '|' + gitterData.fromUser.displayName;
var sentDate = moment(gitterData.sent).format('MMM-D h:mm A zz')
var sentDate = moment(gitterData.sent).format('MMM-D h:mm A')
slackMessage += ' [' + sentDate + ']>';
slackMessage += ': ' + gitterData.text;
request.post(slackHookUrl,
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"main": "gitter-to-slack.js",
"dependencies": {
"moment": "^2.18.1",
"moment-timezone": "^0.5.13",
"request": "^2.81.0"
},
"devDependencies": {},
Expand Down

0 comments on commit 77447dc

Please sign in to comment.