Skip to content

Commit

Permalink
small style change to have 4 numbers ending instead of 3
Browse files Browse the repository at this point in the history
  • Loading branch information
souramoo committed Feb 8, 2020
1 parent e5b2c23 commit 888f19d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Expand Up @@ -22,7 +22,7 @@ let hours = date_ob.getHours();
let minutes = date_ob.getMinutes();
var time=('0' + hours).slice(-2)+':'+('0' + minutes).slice(-2);

io.emit('chat message', '<i>[' + time + '] </i><b>' + params.From.slice(0,3) + "..."+params.From.slice(-3)+"</b>: " + params.Body);
io.emit('chat message', '<i>[' + time + '] </i><b>' + params.From.slice(0,4) + "..."+params.From.slice(-4)+"</b>: " + params.Body);
response.status(204).send()
}

Expand Down

0 comments on commit 888f19d

Please sign in to comment.