I am beginner so I don't know where to write this to fix date issue...
Closed this issue · 2 comments
crazyfortechsid commented
var types = require('pg').types
types.setTypeParser(20, function(val) {
return parseInt(val)
})
bendrucker commented
Hey, no idea what you're asking here. Please try to clarify what you're seeing and we can try to help.
brianc commented
If you're overriding a type parser you'll want to put that in your application initialization code. Usually before you create any pooled clients. Does that help?