postgresql-dart
postgresql-dart copied to clipboard
timeZone not working for PostgreSQLConnection()?
I have a problem with time zones.
It seems to default to UTC if not specified in PostgreSQLConnection(), but it doesn't matter what timeZone you set, for example if setting: timeZone: "Europe/Stockholm", it still believes it is in UTC, tested with SELECT now();
Is this a known problem?
I also ran into this issue, made a fork and solved it like this: https://github.com/newsvoice/postgresql-dart/commit/d5471d0ab9ca73dc882cd73443a2ffa593777063