Commit graph

279 commits

Author SHA1 Message Date
Joe Watkins
e25450d9dc many bugs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328365 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-15 13:40:31 +00:00
Peter Cowburn
749312bffa Added script execution timing example which utilizes REQUEST_TIME_FLOAT (microtime as float) added in PHP 5.4
--
Provided by Dejan Marjanovic (dejan.marjanovic@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328336 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:34:55 +00:00
Adam Harvey
44a4313949 Add documentation for the %k strftime() modifier, and fix a couple of spelling
errors at the same time.

Fixes doc bug #63390 (Doc incomplete for strftime).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328193 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-30 06:17:20 +00:00
Yannick Torres
3a8dc25d68 Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328095 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-22 11:49:37 +00:00
Philip Olson
41f7d3c5c7 Added MySQL datetime format example. Patch by Ben Kuhl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327190 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-20 19:06:11 +00:00
Adam Harvey
6ad9c387c0 Clarify when the "u" format string actually does something useful, per doc bug
#55743 (date u - Microseconds (added in PHP 5.2.2)).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326951 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-03 01:57:04 +00:00
Maciek Sokolewicz
7ae82a50bb Changed wording of "hour of day relevent to start of day" to relative to start of day. Of course this is 'relevant', but still relative ;)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323194 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-13 19:59:43 +00:00
Jakub Vrana
0bce004e94 Close PHP tag
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322160 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-13 02:11:53 +00:00
Justin Martin
e59f309ec0 Replaced outdated windows boundary example with basic usage example. Closes bug #54430.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320390 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-04 22:19:30 +00:00
Daniel Convissor
eb169785f1 Clarify time zone situation and specify that add/sub/modify are better for math (closes bug #60212).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319642 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-21 17:10:22 +00:00
Peter Cowburn
8f5f41464b link date_parse_from_format in see also of strptime
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318620 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-31 21:49:35 +00:00
Peter Cowburn
3b488da02f initializer for strtotime now param (patch by anon 11351)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318103 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-14 11:39:04 +00:00
Peter Cowburn
53998bb459 add link to Date and Time Formats page from strtotime/DateTime::__construct (thanks Tom Power)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317556 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-30 21:17:43 +00:00
Jakub Vrana
eeab0c68f8 Link strptime() and DateTime::createFromFormat()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317246 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-24 09:29:52 +00:00
Nikita Popov
53405b6cbb Fix Doc Bug #55676: Strange example title
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316679 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-13 18:20:20 +00:00
Derick Rethans
e8964e3b43 Fixed docs with changed behaviour in PHP 5.4.0 regarding timezone guessing.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316651 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-13 15:08:36 +00:00
Richard Quadling
fc9e379fd8 Standardise on single style of quotes for XML tag.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315005 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-16 11:38:58 +00:00
Philip Olson
66cd0f0700 Linked to a strftime() format designer thingee
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313294 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-16 20:06:46 +00:00
Peter Cowburn
12bf2afc48 link to strtotime from date see also section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313168 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-12 09:00:09 +00:00
Justin Martin
a0699b136e Noted 64-bit behaviour of PHP for timestamps.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312829 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-03 00:19:14 +00:00
Jakub Vrana
8b428b0908 Improve example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312626 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-29 13:44:51 +00:00
Jakub Vrana
e84c1f221c Link getdate and localtime
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311354 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-23 15:03:08 +00:00
Peter Cowburn
83c927f576 initializer for timestamp in gmdate() (doc #54794)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311169 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 23:22:38 +00:00
Peter Cowburn
35313adda3 initializer for microtime() and gettimeofday() (doc #54784 #54785)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311166 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 22:42:30 +00:00
Peter Cowburn
a21e00fe21 initializer for timestamp in date() (doc #54783)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311165 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 22:35:34 +00:00
Peter Cowburn
bc8c8ab759 grammar ("rather then" to "rather than") (doc #54670)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310795 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-05 19:09:30 +00:00
Peter Cowburn
cc701b8e1c tidy localtime descriptions (doc #54166)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310555 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-27 12:07:36 +00:00
Hannes Magnusson
1e3bd50e65 Fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310067 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-08 14:35:18 +00:00
Derick Rethans
0900962a11 - Clarify the guessing stage of date_default_timezone_get() a bit to prevent bug reports such as #54481.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310049 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-08 09:39:09 +00:00
Adam Harvey
18731686ea Fix doc bug #54139 (All date acceptance functions should cross-reference
checkdate()) by cross referencing checkdate().


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309064 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-10 07:13:07 +00:00
Shein Alexey
69f8b369aa Fixed a typo in example of %c parameter (closes #54070).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308567 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-22 14:05:12 +00:00
Adam Harvey
c6c01a4571 Fix doc bug #53954 (no returing value description for microtime()).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308125 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-08 10:27:42 +00:00
Richard Quadling
78fd6bb1d2 mktime and gmmktime's params are a little more complex. Fix bug#53798
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307764 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-26 11:06:02 +00:00
Kalle Sommer Nielsen
38b8faf180 Improved example #3 (%e modifier on Windows) - Patch by simon at stienen dot name (bug #53558)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306482 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-20 02:00:39 +00:00
David Tajchreber
8258c65cf5 Fixed bug #53532 typo on date_parse_from_format page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306308 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-12 23:05:23 +00:00
Derick Rethans
ec7222dda3 - The format specifiers for createFromFormat and parse_from_format() are not
the same as date()'s. I've documented them now.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306285 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-12 19:01:20 +00:00
Richard Quadling
515006c2e5 New example to report all the values for the formats.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305948 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-03 16:00:26 +00:00
Adam Harvey
94073df47d Fix doc bug #53456 (Documentation should mention that %P doesn't work in Mac OS
X due to diff C lib).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305938 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-03 10:15:06 +00:00
Daniel P. Brown
cb18b62069 Fixes typo from Bug #53381.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305677 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-23 01:09:48 +00:00
Peter Cowburn
1bbbd77ee0 <function> to <methodname> tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305221 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-09 11:01:09 +00:00
Adam Harvey
ef151ba6c1 Removed the reference to "US English" in the strtotime() description, since
that's not true for all delimiters, and added an explanatory note summarising
the Date and Time Formats grammar and how it pertains to m/d/y and d-m-y, along
with a recommendation to use ISO 8601 or DateTime::createFromFormat() where
possible.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305220 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-09 10:53:51 +00:00
Peter Cowburn
422eb63281 CS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304888 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-25 19:41:39 +00:00
Peter Cowburn
a912865116 Typos and grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304887 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-25 19:38:17 +00:00
Kalle Sommer Nielsen
17ece6f8ff Fixed bug #45847 strftime() (returns an empty string when using the %e conversion specifier)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304637 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-23 05:59:00 +00:00
Kalle Sommer Nielsen
138a9e2414 Fixed bug #51538 (strptime() buggy prior PHP 5.2.0)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304520 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 00:33:12 +00:00
Joey Smith
9412bf3cd4 Adds a "seealso" to date-parse-from-format
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302973 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-01 11:29:23 +00:00
Adam Harvey
0b2f8a77ab Fix doc bug #52642 (You have mixed up two values in one of the tables) by
adding a note to the strptime() manual page explaining how OS dependent it is,
suggesting date_parse_from_format() as an alternative, and refining the
parameter descriptions.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302528 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-20 05:45:06 +00:00
Adam Harvey
49d9c2bfe7 Fix doc bug #52363 (timezone_name_from_abbr problem) by adding more explanation
of the $isdst parameter.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301391 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-19 10:13:31 +00:00
Daniel Egeberg
f2f4e07d9d Fixed PHP bug #51976 (date_default_timezone_get still mentions TZ use)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300203 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-05 10:37:33 +00:00
Daniel Convissor
2886be7bf6 Use new date format parameter entity. Move microsecond change log info from parameter to change log.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299419 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-17 01:35:47 +00:00