|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-01-31 12:00 UTC] tony2001@php.net
[2006-01-31 19:43 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 19:00:02 2025 UTC |
Description: ------------ Quote from the RFC3339 (5.6. Internet Date/Time Format): time-numoffset = ("+" / "-") time-hour ":" time-minute time-offset = "Z" / time-numoffset However, DATE_ATOM does not insert that ":" in the time-offset as required. Reproduce code: --------------- php -r 'print date(DATE_ATOM)'; Expected result: ---------------- 2006-01-31T11:50:05+01:00 Actual result: -------------- 2006-01-31T11:50:05+0100