From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4CVS-2002-12-10 (dev) PHP Bug Type: MSSQL related Bug description: mssql.datetimeconvert=0 doesn't work for smalldatetime
When setting: ini_set('mssql.datetimeconvert', 0); fields of type 'smalldatetime' are still converted to a local date format. The above setting only seems to apply to fields of type 'datetime'. For example, leaving 'mssql.datetimeconvert = 1' and displaying two fields DATETIME and SMALLDATETIME would result in: Dec 31 2002 12:00AM // DATETIME Dec 31 2002 12:00AM // SMALLDATETIME whereas, setting 'mssql.datetimeconvert = 0' would result in: 2002-12-31 00:00:00 // DATETIME Dec 31 2002 12:00AM // SMALLDATETIME See also: http://bugs.php.net/bug.php?id=12655 -- Edit bug report at http://bugs.php.net/?id=20920&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20920&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20920&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20920&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20920&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20920&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20920&r=support Expected behavior: http://bugs.php.net/fix.php?id=20920&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20920&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20920&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20920&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20920&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20920&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20920&r=isapi