kvesteri / postgresql-audit

Audit trigger for PostgreSQL
BSD 2-Clause "Simplified" License
126 stars 28 forks source link

Make sure that issues_at is stored at UTC timezone #30

Closed quantus closed 6 years ago

quantus commented 6 years ago

I have one project where the test suite fails on my development environment because postgres-audit is storing the issued_at using my development environments local timezone, and one of the tests catches this issue. On CI and in production environments the DB is on UTC timezone, so we didn't experience this issue there.

I'd assume that all times that are stored to the DB are using UTC timezone.

kvesteri commented 6 years ago

Thanks for the PR! :train: