gx0r/connect-session-knex

Timestamps are not stored correctly in Postgres

KidkArolis opened this issue · 0 comments

If you set maxAge to 30minutes and your timezone is +1 (e.g. London), this library creates already expired sessions. Creating a session and trying to read it back queries back nothing since the timestamp in get or set query is in the past.