php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31535 ii_date_fromat ignored
Submitted: 2005-01-13 11:18 UTC Modified: 2005-02-28 21:12 UTC
From: juju at inrets dot fr Assigned:
Status: Not a bug Package: Ingres II related
PHP Version: 5.0.2 OS: Linux phoebe 2.6.8.1-10mdksmp
Private report: No CVE-ID: None
 [2005-01-13 11:18 UTC] juju at inrets dot fr
Description:
------------
when data are selected, the II_DATE_FORMAT VALUE is ignored.
I use MULTINATIONAL4 and I get US format (31-dec-2004 for example)

Reproduce code:
---------------
// II_DATE_FORMAT value is MULTINATIONAL4 
// SQL at the unix command level, returns :
//  31/12/2004

ingres_query("select date_deb from mytable");
$row = ingres_fetch_row();
echo $row[1];

Expected result:
----------------
31/12/2004

Actual result:
--------------
31-dec-2004

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-28 21:12 UTC] sniper@php.net
The data returned is what ingres returns. Report to ingres devs.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC