Commit graph

691 commits

Author SHA1 Message Date
Christoph Michael Becker
09e2269515 Add missing <initializer>
Based on a patch provided by Kasper Franz.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346945 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-01 17:47:59 +00:00
Peter Cowburn
4321211c79 update type for DateTimeZone::getOffset's $datetime parameter (doc #77671)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346912 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-26 20:38:21 +00:00
Christoph Michael Becker
66e3e8f0d0 Fix description of what parameter in DateTimeZone::listIdentifiers
Patch provided by Gregor Kralik.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346614 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-21 11:09:08 +00:00
Derick Rethans
ab9325e08e Updated to version 2018.9 (2018i)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346569 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-07 11:47:37 +00:00
Christoph Michael Becker
2911a4edd4 Add missing initializers
Based on a patch provided by Kasper Franz.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346084 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-27 11:34:39 +00:00
Derick Rethans
b03b869aad Fixed example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346021 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-20 15:02:37 +00:00
Derick Rethans
a4d3ceaac3 Updated to version 2018.7 (2018g)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345935 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-30 11:21:46 +00:00
Derick Rethans
8e83a69aea Updated to version 2018.6 (2018f)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345882 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-22 11:01:58 +00:00
Christoph Michael Becker
ebce493436 Fix #76945: DateTime modify with decimals
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345766 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-02 15:43:12 +00:00
Christoph Michael Becker
5032f41c27 Document move of the DateTime constants to DateTimeInterface
Cf <https://github.com/php/php-src/pull/2483>.
We keep the old IDs, though, for BC reasons. 

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345663 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-20 16:24:27 +00:00
Christoph Michael Becker
31af10a4a2 Fix #76838: date_parse_from_format() changed meaning of zone value in PHP 7.2 -> BC break
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345615 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-09 15:42:19 +00:00
Derick Rethans
0665ff2123 Fixed versions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345354 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-19 10:10:28 +00:00
Christoph Michael Becker
866b749d19 Fix typo
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345236 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-29 14:12:50 +00:00
Christoph Michael Becker
9cc4767b2d What's in a name?
The Macintosh operating systems changed their name a few times since
version 10. We follow suite, and use the proper name whenever we refer
to a certain version, and use “macOS” as generic term, since “Mac OS X”
and “OS X” versions are already unsupported, or loose support at the end
of this year.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345139 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-15 11:50:40 +00:00
Christoph Michael Becker
a39d6f9134 Fix #74176: Add changelog entry
The properties have already been documented via r345090.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345092 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-04 11:17:48 +00:00
Christoph Michael Becker
62d7e3d656 The DatePeriod class has a few properties that are public, but are not documented, this patch documents them
-- 
Provided by anonymous 55921 (php@duncanc.co.uk)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345090 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-04 11:08:43 +00:00
Christoph Michael Becker
2446428ef3 Fix changelog entry order
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345050 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-25 14:14:41 +00:00
Derick Rethans
0e3c7cbce0 Updated to version 2018.5 (2018e)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344975 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 08:09:13 +00:00
Christoph Michael Becker
9f0ddf9569 Fix typo
Patch provided by Leo Gumbo.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344562 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-25 13:52:25 +00:00
Derick Rethans
653978414c Updated to version 2018.4 (2018d)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344552 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-24 11:24:03 +00:00
Christoph Michael Becker
c84f47ac7f Document the zenith angles which are used for the calculation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344255 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-13 13:44:31 +00:00
Christoph Michael Becker
efe705d94a Document $zenith parameter
This integrates user note 82801, and is supposed to make 
user note 47839 superfluous.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344247 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-12 18:34:40 +00:00
Christoph Michael Becker
6b897704a1 Fix bug #46670: date_sunrise (date_sunset) works incorrectly with gmtoffset parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344245 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-12 17:19:29 +00:00
Christoph Michael Becker
0f43dbaec0 Document structure of result array
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344223 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-11 17:41:41 +00:00
Christoph Michael Becker
6250f7fb10 Clarify possible element types
We also give examples for polar night and midnight sun.
This integrates user note 83903 and 116828.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344216 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-11 16:41:08 +00:00
Christoph Michael Becker
7e4c47b05c date_sun(rise|set) fails if the sun does not rise or set
This integrates user note 114896.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344215 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-11 16:01:56 +00:00
Christoph Michael Becker
335b42f561 Add relevant links
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344214 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-11 14:11:44 +00:00
Christoph Michael Becker
8ed83c937f Add changelog entry regarding bug #39965
This integrates user note 111399.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344213 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-11 13:58:09 +00:00
Jakub Vrana
578a13198f Update versions based on parsing sources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344132 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 12:27:12 +00:00
Jakub Vrana
eee609624d Document returning false (bug #74562)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344087 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 23:20:31 +00:00
Jakub Vrana
7c50ead1ed Fix versions based on parsed php-src
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344068 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 15:23:17 +00:00
Jakub Vrana
3e9734391f Add new functions to versions.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344041 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 13:39:15 +00:00
Jakub Vrana
b8758b0605 Use entities in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +00:00
Derick Rethans
86418ef23a Updated to version 2018.3 (2018c)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343860 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-24 13:47:45 +00:00
Peter Cowburn
e03f86db2f Document DateTime::RFC3339_EXTENDED and DATE_RFC3339_EXTENDED
Based on a patch from lauri.piisang@eesti.ee

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343431 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-20 20:39:26 +00:00
Derick Rethans
e1b9b1f567 Updated to version 2017.3 (2017c)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343293 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-23 16:27:45 +00:00
Christoph Michael Becker
eff0cbed30 Update wrt. PHP 7.1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343118 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-21 09:28:11 +00:00
Andrea Faulds
5020f2f154 Update changelog for DateTime::setTime
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342854 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-14 21:53:59 +00:00
Andrea Faulds
932a77838b Fix bug #74405 (Undocumented 4th parameter of DateTime::setTime)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342846 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-12 00:56:39 +00:00
Derick Rethans
3787c3f437 Fixed docs for DateTIme constructor.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342817 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-09 10:41:12 +00:00
Jiří Pudil
e542303a31 Add microseconds support to DateInterval
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342541 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-05 08:22:07 +00:00
Peter Cowburn
976df74b38 use same refpurpose as DateTime::createFromFormat
Patch contributed anonymously via online editor

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342522 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-28 13:48:28 +00:00
Andrey Gromov
2aaa257b45 Two minor typos fixed.
-- 
Provided by anonymous 80662 (peterkokot@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342335 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-15 08:52:18 +00:00
Pieter Hordijk
400f2c8445 Documented the possibility of using offset values implemented in 5.5.10
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342230 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-04 08:59:24 +00:00
Derick Rethans
1ef7482bea Updated to version 2017.2 (2017b)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342178 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-24 12:23:51 +00:00
Derick Rethans
b98ce020a7 Updated to version 2017.1 (2017a)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342002 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-01 19:57:03 +00:00
Christoph Michael Becker
85a0f92433 It previously mistakenly said that the start and end parameters accept only DateTimeImmutable, but they accept DateTimeInterface
-- 
Provided by anonymous 79786 (ondrej@mirtes.cz)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341755 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-23 17:39:09 +00:00
Christoph Michael Becker
50fe627f4f Fix #73787: strftime %k documentation self-contradicts
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341417 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-19 13:56:45 +00:00
Maciej Sobaczewski
95bdd6883b Another round of PHP 4 content removal (mostly inline mentions)
Review is welcome

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341282 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-05 10:17:07 +00:00
Derick Rethans
ff314ea403 Updated to version 2016.10 (2016j)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341119 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-24 10:37:35 +00:00