Doc #50026 [Nab->Csd]: 62 seconds in a minute??
Edit report at https://bugs.php.net/bug.php?id=50026&edit=1
ID: 50026
Updated by: phpdocbot@php.net
Reported by: pmaslen at unimelb dot edu dot au
Summary: 62 seconds in a minute??
-Status: Not a bug
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: Linux
PHP Version: 5.2.11
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of rquadling
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=985575ffe7c023f65e4b7464753933bd5f2517ae
Log: Explain why there could be 62 seconds in a minute - leap seconds. Fix #50026
Previous Comments:
------------------------------------------------------------------------
[2009-10-28 09:35:54] svn@php.net
Automatic comment from SVN on behalf of rquadling
Revision: http://svn.php.net/viewvc/?view=revision&revision=290022
Log: Explain why there could be 62 seconds in a minute - leap seconds. Fix #50026
------------------------------------------------------------------------
[2009-10-28 07:52:04] derick@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
There could be leap seconds... this comes straight from the Unix manual as well.
------------------------------------------------------------------------
[2009-10-28 05:08:07] pmaslen at unimelb dot edu dot au
Description:
------------
Documentation for strptime
"tm_sec" Seconds after the minute (0-61)
Surely this should be (0-59)? There are only 60 seconds in a minute.
Reproduce code:
---------------
---
From manual page: function.strptime#Return Values
---
Expected result:
----------------
"tm_sec" Seconds after the minute (0-59)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=50026&edit=1
Thread (3 messages)