Fix integration test for v1.0.4 of postgres-date sub-dependency (#1867)

This commit is contained in:
Malcolm 2019-04-16 11:37:33 +12:00 committed by Brian C
parent 6b8176e841
commit 4d84909cbd

View File

@ -179,7 +179,7 @@ suite.test('date range extremes', function (done) {
}))
client.query('SELECT $1::TIMESTAMPTZ as when', ['4713-12-31 12:31:59 BC GMT'], assert.success(function (res) {
assert.equal(res.rows[0].when.getFullYear(), -4713)
assert.equal(res.rows[0].when.getFullYear(), -4712)
}))
client.query('SELECT $1::TIMESTAMPTZ as when', ['275760-09-13 00:00:00 -15:00'], assert.success(function (res) {