Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
From: thomas dot lallement at 9online dot fr Date: Mon, 21 Jan 2013 18:37:58 +0000 Subject: Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-176159@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=44383&edit=1
ID: 44383
Comment by: thomas dot lallement at 9online dot fr
Reported by: kevin dot craft at gmail dot com
Summary: PHP DateTime not converted to xsd:datetime
Status: Feedback
Type: Bug
Package: SOAP related
Operating System: *
PHP Version: 5.*, 6 (2009-08-07
Assigned To: mj
Block user comment: N
Private report: N
New Comment:
For me, when you call $client->getCurrentDate(), the expected result would be to have a PHP
DateTime object rather than a string.
So the expected result should be:
DateTime Object
(
[date] => 2008-03-06 00:00:00
[timezone_type] => x
[timezone] => xxxx/xxxxx
)
What do you think about this? At least an option could be provide throught the SoapClient to permit
this behavior.
Previous Comments:
------------------------------------------------------------------------
[2012-12-24 07:29:52] mj@php.net
David, I applied your patch to 5.6.0-dev but all the new tests are failing due to
empty responses from SoapServer. Do you have
some cycles to look into this?
------------------------------------------------------------------------
[2012-05-03 10:33:48] andyidol at gmail dot com
Please fix this! I beg you )
------------------------------------------------------------------------
[2012-01-25 19:44:20] frozenfire@php.net
I've encountered this issue today, and it would be really wonderful to have this
patch applied.
------------------------------------------------------------------------
[2010-10-18 17:43:04] aldekein at myevil dot info
It still does not work after 2.5 years in PHP 5.3.1 on Windows.
Maybe this patch should be applied to official PHP branch?
------------------------------------------------------------------------
[2009-08-07 15:23:57] david dot zuelke at bitextender dot com
Updated patch and tests: http://pastie.org/575559
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=44383
--
Edit this bug report at https://bugs.php.net/bug.php?id=44383&edit=1
Thread (29 messages)
- #44383 [Opn]: PHP DateTime not converted to xsd:datetime
- #44383 [Opn]: PHP DateTime not converted to xsd:datetime
- #44383 [Opn]: PHP DateTime not converted to xsd:datetime
- #44383 [Opn]: PHP DateTime not converted to xsd:datetime
- #44383 [Com]: PHP DateTime not converted to xsd:datetime
- #44383 [Com]: PHP DateTime not converted to xsd:datetime
- #44383 [Com]: PHP DateTime not converted to xsd:datetime
- #44383 [Opn->Fbk]: PHP DateTime not converted to xsd:datetime
- #44383 [Com]: PHP DateTime not converted to xsd:datetime
- #44383 [Com]: PHP DateTime not converted to xsd:datetime
- #44383 [NoF->Opn]: PHP DateTime not converted to xsd:datetime
- #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Opn]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Opn->Fbk]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Fbk->NoF]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [NoF->ReO]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [ReO]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [ReO->Csd]: PHP DateTime not converted to xsd:datetime
| « previous | php.bugs (#176159) | next » |
|---|