Doc #69334 [NEW]: Microseconds vs Milliseconds confusion

From: Date: Tue, 31 Mar 2015 01:47:53 +0000
Subject: Doc #69334 [NEW]: Microseconds vs Milliseconds confusion
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12069@lists.php.net to get a copy of this message
From: webmaster at thedigitalorchard dot ca Operating system: OS X 10.10 PHP version: 5.6.7 Package: mongo Bug Type: Documentation Problem Bug description:Microseconds vs Milliseconds confusion Description: ------------ --- From manual page: http://www.php.net/class.mongodate --- The documentation states that the MongoDate class stores milliseconds, but then the class definition defines "sec" (seconds) and "usec" (micro-seconds) properties. This should be clarified or corrected. There are 1000 microseconds in 1 millisecond, so the class should be storing sufficient data to represent both units, but the documentation should indicate this better. Test script: --------------- n/a Expected result: ---------------- Documentation should reflect class definition. Actual result: -------------- Documentation talks about milliseconds where as class definition defines microseconds. -- Edit bug report at https://bugs.php.net/bug.php?id=69334&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69334&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69334&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69334&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=69334&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=69334&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=69334&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=69334&r=needscript Try newer version: https://bugs.php.net/fix.php?id=69334&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=69334&r=support Expected behavior: https://bugs.php.net/fix.php?id=69334&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=69334&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=69334&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=69334&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69334&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=69334&r=dst IIS Stability: https://bugs.php.net/fix.php?id=69334&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=69334&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=69334&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=69334&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=69334&r=mysqlcfg

« previous php.doc.bugs (#12069) next »