Bug #17988: strtotime fails to parse timestamp type from postgresql
| From: | jam at newimage dot com | Date: | Wed, 26 Jun 2002 04:35:09 +0000 |
| Subject: | Bug #17988: strtotime fails to parse timestamp type from postgresql | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-12094@lists.php.net to get a copy of this message | ||
From: jam@newimage.com
Operating system: redhat 7.3
PHP version: 4.1.2
PHP Bug Type: Feature/Change Request
Bug description: strtotime fails to parse timestamp type from postgresql
- postgresql 7.2.1
- php 4.1.2
- redhat 7.3 with all applicable patches
- field type: timestamp
- strtotime() fails to parse dates of the form "2002-06-25
14:18:48.543728-04" because parsedate.y doesn't know how to handle
a floating point seconds value.
- according to #postgresql, it is not possible to have a timestamp not
print the precision, so the issue needs to be handled by php's
parsedate.y.
- any other details needed, let me know.
--
Edit bug report at http://bugs.php.net/?id=17988&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17988&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17988&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17988&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17988&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17988&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17988&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17988&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17988&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17988&r=globals