Doc #75589 [NEW]: RFC3336_EXTENDED format with v
| From: | dan dot milligan at psikick dot com | Date: | Wed, 29 Nov 2017 14:08:40 +0000 |
| Subject: | Doc #75589 [NEW]: RFC3336_EXTENDED format with v | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-15261@lists.php.net to get a copy of this message | ||
From: dan dot milligan at psikick dot com
Operating system: Linux
PHP version: 5.6.32
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:RFC3336_EXTENDED format with v
Description:
------------
---
From manual page: http://www.php.net/class.datetime
---
The format for the RFC3336_EXTENDED is shown as follows:
const string RFC3339_EXTENDED = "Y-m-d\TH:i:s.vP" ;
Should the .v be .u for microseconds? In practice w/ 5.6.32 on the PI
it throws an error w/ a .v
Test script:
---------------
$dateTime = new DateTime();
$dateTime.format("Y-m-d\TH:i:s.vP");
--
Edit bug report at https://bugs.php.net/bug.php?id=75589&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75589&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75589&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75589&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75589&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75589&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75589&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75589&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75589&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75589&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75589&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75589&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75589&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75589&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75589&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75589&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75589&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75589&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75589&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75589&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75589&r=mysqlcfg