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
 [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)

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC