Skip to content

Commit

Permalink
correct example
Browse files Browse the repository at this point in the history
  • Loading branch information
dominictarr committed Jun 1, 2014
1 parent fdbca45 commit edae8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ stream.on('data', function (msg) {
})

setInterval(function () {
stream.write(new Date())
stream.write(new Buffer(new Date().toString(), 'utf8'))
}, 1000)

```
Expand Down

0 comments on commit edae8c6

Please sign in to comment.