Page 1 of 1

Time zone problem.

Posted: Tue 28 Jun 2005 01:06
by isbuy
Hello!

The following code always returns time in GMT even though I set db time zone to Pacific/Honolulu. Is it a bug or am I doing something wrong?

Please look following code.
Thanks.


DSN = "User ID=user; Password=password; Host=my.host.com;Database=mydb;Port=5432;Pooling=true;Min Pool Size=0; Max Pool Size=100;Connection Lifetime=0"
Cn = New PgSqlConnection(DSN)
Cn.Open()
Cmd = Cn.CreateCommand
Cmd.CommandText = "select now()"
sRet =Cmd.ExecuteScalar

Time zone problem.

Posted: Wed 29 Jun 2005 08:45
by Yuri
We reproduced your problem and fixed it. This fix will be included in the next PostgreSQLDirect .NET build. It will be available in a week.

Re: Time zone problem.

Posted: Tue 05 Jul 2005 23:21
by isbuy
Yuri wrote:We reproduced your problem and fixed it. This fix will be included in the next PostgreSQLDirect .NET build. It will be available in a week.
I still have the same problem after installing 2.11.

Time zone problem.

Posted: Wed 06 Jul 2005 07:02
by Yuri
We got your request and now examines the problem. Unfortunately now we couldn't give you any information. As soon as we solve the problem, we'll let you know.