Skip to content

Commit

Permalink
Merge pull request #14 from ArtiomL/develop
Browse files Browse the repository at this point in the history
Date to UTCString
  • Loading branch information
ArtiomL committed May 7, 2018
2 parents bede4d0 + f6c3dcd commit 3463502
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ app.get('/kill', require('crasher'))

app.get('/*', (req, res) => {
res.send('hello, world\n')
console.log(new Date().toLocaleTimeString(), req.ip.split(":")[3], req.url)
console.log(new Date().toUTCString(), req.ip.split(":")[3], req.url)
})

app.listen(process.env.PORT || 8080, function(){ console.log('Node.js app is listening on port:', this.address().port) })
4 changes: 2 additions & 2 deletions test/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -xe
set -o pipefail

set -xeo pipefail

REPO="artioml/hello-world"

Expand Down

0 comments on commit 3463502

Please sign in to comment.