php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66617 Date values are displayed in wrong format
Submitted: 2014-01-31 12:29 UTC Modified: 2021-10-03 04:22 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: thomas dot kaltseis at leha dot at Assigned: cmb (profile)
Status: No Feedback Package: PDO_INFORMIX (PECL)
PHP Version: 5.5.8 OS: Ubuntu 12.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: thomas dot kaltseis at leha dot at
New email:
PHP Version: OS:

 

 [2014-01-31 12:29 UTC] thomas dot kaltseis at leha dot at
Description:
------------
The DBDATE environment variable seems to be not recognized by pdo_informix module, so the date-values are displayed in wrong date-format.




Patches

PDO_INFORMIX (last revision 2014-01-31 12:32 UTC by thomas dot kaltseis at leha dot at)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-04-29 14:04 UTC] lk at ordix dot de
We have the same problem here with PHP 5.3.6 and PDO_INFORMIX 1.2.6
 [2014-07-14 12:47 UTC] ffapitalle at cooperativaobrera dot coop
We've been diagnosing this issue for the last couple of days.
We are currently using PDO_INFORMIX 1.2.7 and php 5.3.3. It turns out that if we link PDO_INFORMIX against Informix CSDK 2.90, DBDATE environment variable is recognized and return the expected results

> php -f test.php 
Array
(
    [fecha] => 2013-12-01
    [0] => 2013-12-01
)
> DBDATE=dmy4 php -f test.php 
Array
(
    [fecha] => 01/12/2013
    [0] => 01/12/2013
)

On the other hand, if we link PDO_INFORMIX against CSDK 3.70, it behaves like it is described in this bug.
 [2021-09-23 12:17 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-09-23 12:17 UTC] cmb@php.net
Is this still an issue with latest PDO_INFORMIX (1.3.4)?
 [2021-10-03 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Jul 03 15:05:44 2022 UTC