1
0
mirror of https://github.com/php/doc-en.git synced 2026-04-23 15:28:17 +02:00
Commit Graph

33 Commits

Author SHA1 Message Date
Máté Kocsis 02ff7fef5b Update ext/date role attributes (#1972) 2022-12-11 16:34:22 +01:00
Máté Kocsis 0466dd93f7 Sync ext/date class synopsis with recent stub changes (#1597)
Co-authored-by: George Peter Banyard <girgias@php.net>
2022-11-07 13:38:34 +01:00
Christoph M. Becker 892b3e396e Fix GH-1899: Date example for "p" is misleading 2022-10-19 15:23:40 +02:00
Derick Rethans ff502b2d9b Fixed GH-1443: DateTime::format has lost information about escaping 2022-10-19 09:46:05 +01:00
Derick Rethans bc70945d85 Fixed #1059: DateTime::diff Not handling DST changes correctly 2022-09-13 12:59:09 +01:00
Derick Rethans 1a9ee818e5 Incorporate useful information from notes (take #1) 2022-08-12 17:31:45 +01:00
Derick Rethans b38338a072 Document new 'x' and 'X' format letters for DateTimeInterface::format and DateTime(Immutable)::createFromFormat 2022-07-22 17:11:55 +01:00
Christoph M. Becker 8c3c7f1adb Fix GH-1627: DateTimeInterface::diff() does not return false on failure
Well, technically it did prior to PHP 8.0.0, but that was actually
undefined behavior and as such does not need to be documented for each
function individually.
2022-07-07 19:15:44 +02:00
Derick Rethans 5e983c42a0 Fixed bug #79725: Update reference to RFC2822 to RFC5322 2022-06-02 17:18:17 +01:00
Sergey Panteleev 4a41b3c620 Fix the build 2022-05-13 14:08:44 +03:00
Derick Rethans 8cc12de858 Fixed bug #45509: Clarify ocumentation for DateTime::format and DateTime::createFromFormat's 'Y' character 2022-05-13 11:24:02 +01:00
Christoph M. Becker cc1ac298e0 Fix GH-1460: p format character only available as of PHP 8.0.0 2022-03-14 10:32:36 +01:00
Christoph M. Becker d74736d803 Fix #73857: Y2038 issue with getTimestamp and setTimestamp, with alternative 2021-11-17 15:47:43 +01:00
Matt Thomas aaea72f308 Update ISO 8601 text
Use _ISO 8601_, instead of _ISO-8601_, for consistency and alignment with https://www.iso.org/iso-8601-date-and-time-format.html

Closes GH-1060.
2021-11-03 17:14:49 +01:00
Christoph M. Becker cafd6b7449 Fix #76748: date format timezone abbreviations and changes not well documented 2021-08-04 16:55:59 +02:00
Sergey Panteleev 8cdc6621f9 Remove PHP 5, 7 references (#563)
- array functions
- datetime functions
- mbstring functions
- strings functions
- var functions
- xml functions
- json functions
2021-05-16 22:07:40 +03:00
Sergey Panteleev a0ae28d3bc Removed references to PHP 5, PHP 7.0 (#545) 2021-04-24 20:01:17 +03:00
Christoph M. Becker 511dd10754 The format char p is only available as of PHP 8.0.0.
This integrates user note 125722.
2021-01-25 14:20:24 +01:00
Christoph M. Becker c2120bd346 Update some methodsynopses
Cf.
<http://github.com/php/php-src/commit/7290dc4dcf25d4a37fc1d412a5b5a8828cc06c77>,
<http://github.com/php/php-src/commit/c31f9f7ee4fcdc07d367c41d3645e0fe3870704c>.
2021-01-18 19:45:28 +01:00
DColt 2424a1accc Whitespace fix for datetime.getoffset
Closes GH-307.
2021-01-02 23:36:03 +01:00
Yoshinari Takaoka 260c0b8f4d Fixed oop return type of DateTimeInterface::getOffset.
Closes CH-282.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352182 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 10:20:49 +00:00
Christoph Michael Becker 0ec192da9f date_timestamp_get() and aliases do no longer return false on failure
Cf. <https://github.com/php/php-src/commit/b67c23218950eae0a153b093dcefbe14b3b40901#r45293163>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352146 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-20 22:35:30 +00:00
Christoph Michael Becker 4d5206538d Fix return types
All these aliases may return false.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352145 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-20 18:36:10 +00:00
Christoph Michael Becker 34188f8256 Generate ext/date methodsynopses based on stubs
Closes GH-185.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352143 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-20 15:06:41 +00:00
Christoph Michael Becker 243afef598 Document p date formatter code
Closes GH-230.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351587 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 18:10:24 +00:00
Christoph Michael Becker bc27cd7cfc Remove obsolete PHP 5 specific info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351586 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 18:05:28 +00:00
Christoph Michael Becker b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker 86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker a59ed9b526 Updates for datetime extension
Patch contributed by derick@

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350219 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-27 11:47:54 +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
Jakub Vrana b89d5b4683 Add missing version info
Found by PhD

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330435 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-31 22:33:43 +00:00
Jakub Vrana 2479b98e82 Don't inherit from DateTimeInterface
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330270 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 18:17:21 +00:00
Jakub Vrana f65a959cff Document PHP 5.5 date classes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330266 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 06:06:10 +00:00