Commit graph

637 commits

Author SHA1 Message Date
Christoph Michael Becker
8e821c7a9c Fix #73314: Documentation on createFromFormat does not match with date_default_timezone_get
$timezone's default is to complex to be expressed as initializer, so we omit it.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340470 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-14 09:06:55 +00:00
Christoph Michael Becker
a5d1e6e1db Fix typos and markup
Patch provided by Andrey Gromov.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340436 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-11 14:11:26 +00:00
Christoph Michael Becker
dd3d3bc95c Fix #70036: DateTime::createFromFormat/date_create_from_format return value not "formatted"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340326 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-05 17:02:21 +00:00
Derick Rethans
1afff783d6 Updated to version 2016.7 (2016g)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340259 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-30 09:05:39 +00:00
Derick Rethans
12313196fe Updated to version 2016.7 (2016g)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340253 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 22:27:58 +00:00
Christoph Michael Becker
7fff0f94d5 Reverse merged revision(s) 339345-339344 from phpdoc/en/trunk/reference/datetime/datetime/createfromformat.xml:
Add proper markup
Improve format docs (provided by anon user)

There is no difference in createFromFormat whether 
you use a 'd' or a 'j' for example. Both of them allow leading zeroes, 
or not.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339932 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-23 13:17:15 +00:00
Christoph Michael Becker
a6629a0fad Add proper markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339931 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-23 11:36:45 +00:00
Christoph Michael Becker
246eedd738 Improve format docs (provided by anon user)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339929 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-23 11:29:02 +00:00
Peter Cowburn
bb34cfdd32 fix Revision keyword
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339779 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-04 15:35:27 +00:00
Christoph Michael Becker
5894f6e970 Fix #68102: Incorrect / misleading description of the ISO-8601 week-numbering year
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339714 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-25 15:36:08 +00:00
Christoph Michael Becker
0e729267cd Fix parameter name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339656 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-13 15:25:19 +00:00
Derick Rethans
5f8dc963a0 Updated to version 2016.6 (2016f)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339577 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-06 10:10:36 +00:00
Christoph Michael Becker
b362985477 Fix #72514: Behaviour of relative date format "this week" has changed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339521 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 11:44:50 +00:00
Christoph Michael Becker
de7ffa3624 Add warning regarding volatility of timezone abbreviations
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339461 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 17:03:25 +00:00
Christoph Michael Becker
253e98c2ea Fix #72471 Docs to explain how adding/subtracting dates work (PS)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339460 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 16:30:38 +00:00
Christoph Michael Becker
7a94745acb Fix #72471: Docs to explain how adding/subtracting dates work
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339459 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 16:12:00 +00:00
Christoph Michael Becker
707cc32e4b Fix #72461: Documentation on DatePeriod is missing mention of unbounded periods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339435 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 11:58:49 +00:00
Christoph Michael Becker
cf0ced50ae Fix #72457: change in strtotime for invalid dates since 5.1.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339429 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-20 19:23:59 +00:00
Christoph Michael Becker
cf579106bf Fix #65747: DateTime __construct error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339390 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-18 17:21:49 +00:00
Derick Rethans
a93b9670de Updated to version 2016.5 (2016e)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339356 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-15 10:56:10 +00:00
Christoph Michael Becker
b824148e7a Fix #64588: Missing Documentation of Escape Sequence
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339343 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-14 11:59:53 +00:00
Christoph Michael Becker
bd034b66e9 typo fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339242 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-30 14:13:34 +00:00
Peter Cowburn
c08bf3ec57 fix invalid date format examples (doc #69380)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339186 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-19 21:35:49 +00:00
Peter Cowburn
c242f63f9a Document DatePeriod getStartDate(), getEndDate(), getDateInterval() methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339177 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-17 20:41:56 +00:00
Derick Rethans
69987a24cf Updated to version 2016.4 (2016d)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339033 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-19 09:09:10 +00:00
Derick Rethans
b77b007222 Updated to version 2016.4 (2016d)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339032 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-19 09:05:50 +00:00
Derick Rethans
2d67091deb Updated to version 2016.4 (2016d)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339026 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-18 18:23:27 +00:00
Derick Rethans
8849e33be6 Updated to version 2016.3 (2016c)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338802 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-24 11:06:51 +00:00
Derick Rethans
606602d5f7 Updated to version 2016.2 (2016b)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338747 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-15 09:11:54 +00:00
Derick Rethans
417c589d29 Updated to version 2016.1 (2016a)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338557 c90b9560-bf6c-de11-be94-00142212c4b1
2016-02-02 10:31:43 +00:00
Christoph Michael Becker
1c44bc0f84 added missing defaults (by Michael Hoppes)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338509 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 18:12:26 +00:00
Adam Harvey
41d8e7ffe4 Update version information to include PHP 7.
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.

In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +00:00
Derick Rethans
5735231eae Fixed #70796: Timezones go under data
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338028 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-26 17:53:49 +00:00
Maciej Sobaczewski
92bff06867 Update bunch of versions.xml for PHP 7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337985 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-12 07:06:29 +00:00
Derick Rethans
636ddffb88 Updated to version 2015.7 (2015g)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337938 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-02 17:09:52 +00:00
Christoph Michael Becker
ddfb9f8974 added changelog (fixes #69499)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337743 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-04 00:01:24 +00:00
Christoph Michael Becker
bbed905d26 clarified behavior of nn-nn-nn parsing (fixes #61314)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337698 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-01 23:52:22 +00:00
Christoph Michael Becker
b30b22b31c DATE_ISO8601 is not compatible with ISO-8601 (fixes #70115)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337646 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-27 14:13:56 +00:00
Derick Rethans
9196fc672e Updated to version 2015.6 (2015f)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337461 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-14 23:04:44 +00:00
Christoph Michael Becker
beb394a33a reverted revision 337451:
fixed wrong parameter name (Reflection!) (fixes #70265)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337458 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-14 21:09:28 +00:00
Christoph Michael Becker
6f2e26eba9 fixed wrong parameter name (Reflection!) (fixes #70265)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337451 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-14 12:49:32 +00:00
Derick Rethans
08bc59a694 Updated to version 2015.6 (2015f)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337422 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-12 20:46:27 +00:00
Christoph Michael Becker
8d6a0d5257 documented parsing of relative formats (fixes #70209)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337325 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-07 21:03:06 +00:00
Christoph Michael Becker
2288810bf8 documented that DateTimeInterface is not implementable in userland
(see <http://news.php.net/php.internals/87217>)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337210 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-21 12:19:50 +00:00
Christoph Michael Becker
4f5dbb13fa MM are months; minutes are II
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337055 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-26 00:20:51 +00:00
Derick Rethans
6b84c9b874 - Updated to version ()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337047 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-24 18:01:22 +00:00
Christoph Michael Becker
f9aed876b8 clarified date() documentation regarding microseconds (#fixes 69789)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336982 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-16 20:46:13 +00:00
Derick Rethans
2bee8cf00a - Updated to version 2015.5 (2015e)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336967 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-15 09:42:07 +00:00
Peter Cowburn
c0ba3d8f00 remove accidental PHP 6 unicode section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336883 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-08 12:34:43 +00:00
Maciek Sokolewicz
5edd406c8c removed illegal "000" example from the doy format (as per note#113201) & reordered the example values to correspond to the actual format
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336882 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-08 11:55:29 +00:00