#31535 [NEW]: ii_date_fromat ignored

From: Date: Thu, 13 Jan 2005 10:18:34 +0000
Subject: #31535 [NEW]: ii_date_fromat ignored
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-72052@lists.php.net to get a copy of this message
From:             juju at inrets dot fr
Operating system: Linux phoebe 2.6.8.1-10mdksmp
PHP version:      5.0.2
PHP Bug Type:     Ingres II related
Bug description:  ii_date_fromat ignored

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

-- 
Edit bug report at http://bugs.php.net/?id=31535&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31535&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31535&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31535&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31535&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31535&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31535&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31535&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31535&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31535&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31535&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=31535&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=31535&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31535&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31535&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31535&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31535&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31535&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31535&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31535&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31535&r=mysqlcfg


Thread (2 messages)

« previous php.bugs (#72052) next »