Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
xpl authored Jun 23, 2019
1 parent 3033f8e commit 0a31f65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ The callback also receives a field name (in case of objects) or a column index (
```javascript
asTable = require ('as-table').configure ({
print (x, k) {
if (k === 'timestamp') return new Date (obj).toGMTString()
return String (k)
if (k === 'timestamp') return new Date (x).toGMTString()
return String (x)
}
})

Expand Down

0 comments on commit 0a31f65

Please sign in to comment.