#17988 [Com]: strtotime fails to parse timestamp type from postgresql
| From: | cili_jam at hotmail dot com | Date: | Fri, 14 May 2004 17:58:43 +0000 |
| Subject: | #17988 [Com]: strtotime fails to parse timestamp type from postgresql | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59641@lists.php.net to get a copy of this message | ||
ID: 17988
Comment by: cili_jam at hotmail dot com
Reported By: jam at newimage dot com
Status: Closed
Bug Type: Feature/Change Request
Operating System: redhat 7.3
PHP Version: 4.1.2
New Comment:
Ma rrofsh
Previous Comments:
------------------------------------------------------------------------
[2003-08-16 15:56:56] derick@php.net
Finally fixed in CVS (PHP 5). The patch included didn't work at all
anymore, so I came up with my own version. I might merge this to PHP
4.3.4, but after PHP 4.3.3 has been released.
Derick
------------------------------------------------------------------------
[2002-07-02 09:34:24] sniper@php.net
Assigned to Derick. He mumbled something about rewrite..
------------------------------------------------------------------------
[2002-06-27 15:08:22] jam at newimage dot com
the above patch was generated against php-4.2.1
------------------------------------------------------------------------
[2002-06-27 14:52:15] jam at newimage dot com
--- parsedate.y.old Thu Jun 27 14:26:11 2002
+++ parsedate.y Thu Jun 27 14:43:28 2002
@@ -262,4 +262,13 @@
}
}
+ | tUNUMBER ':' tUNUMBER ':' tUNUMBER '.' tUNUMBER tSNUMBER {
+ yyHour = $1;
+ yyMinutes = $3;
+ yySeconds = $5;
+ yyMeridian = MER24;
+ yyDSTmode = DSToff;
+ yyTimezone = - ($8 % 100 + ($8 / 100) * 60);
+ }
+
;
------------------------------------------------------------------------
[2002-06-26 01:26:46] derick@php.net
Please submit that patch then so we can include it.
Derick
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17988
--
Edit this bug report at http://bugs.php.net/?id=17988&edit=1