Re: RE: Bug #4314 Updated: ibase date values are skewed by 1 hr
| From: | Jouni Ahto | Date: | Thu, 04 May 2000 21:18:10 +0000 |
| Subject: | Re: RE: Bug #4314 Updated: ibase date values are skewed by 1 hr | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-18434@lists.php.net to get a copy of this message | ||
On Thu, 4 May 2000, Kundrat Peter (Kosice) wrote:
> > Fixed in cvs. Note that I don't remember seeing this
> > behaviour with older
> > versions of InterBase, and it might be a bug in Interbase 6, function
> > isc_decode_date(). If it is, and older versions of InterBase
> > now work incorrectly,
> > the patch will be reverted. I'll yet have to examine the situation.
>
> Thanks for reply.
> You are right, it seems the bug is in ibase libgds. Interesting point is,
> that isql runs fine (thats how we found the problem) !
> I will try to have a look at isc_decode_date and what isql calls to
> find a solution.
>
> On the other hand, setting isdst to -1 should result in wrong date only
> in case when local (php3-ibase client) and ibase server differ in isdst
> parameter. I'll let you know what i found.
By the way, you didn't tell what version of InterBase you are using. If it
is InterBase 6, the problem might well just go away when I get time to
write proper support for it. I just looked the new API docs and
isc_decode_date isn't even mentioned anymore, it seems to be replaced by
isc_decode_timestamp, although it is still in libgds and defined in
ibase.h.
-- Jouni Ahto