We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a029e65 + a138407 commit aa242b0Copy full SHA for aa242b0
README.md
@@ -23,7 +23,7 @@ var conString = "tcp://postgres:1234@localhost/postgres";
23
pg.connect(conString, function(err, client) {
24
client.query("SELECT NOW() as when", function(err, result) {
25
console.log("Row count: %d",result.rows.length); // 1
26
- console.log("Current year: %d", result.rows[0].when.getYear());
+ console.log("Current year: %d", result.rows[0].when.getFullYear());
27
});
28
29
```
0 commit comments