Christoph M. Becker
e057f1f552
Remove superfluous changelog entries
...
Actually, most (or even all) datetime functions returned false prior to
PHP 8.0.0, where they now throw an error. Besides ZPP failures which
we certainly do not want to document explicitly, that also happened in
case the objects have not been properly initialized, which is so close
to ZPP failures, that we don't want to document that either.
Co-authored-by: Alexander Menshchikov <amenshchikov@gmail.com >
Closes GH-1358.
2022-12-27 16:54:37 +01:00
Máté Kocsis
02ff7fef5b
Update ext/date role attributes ( #1972 )
2022-12-11 16:34:22 +01:00
Juliette
43a7fc735b
DateTimeZone::listIdentifiers: fix incorrect param reference
...
Refs:
* https://www.php.net/manual/en/datetimezone.listidentifiers.php
* https://3v4l.org/iBYXH
Closes GH-1781.
2022-08-30 13:35:02 +02:00
Derick Rethans
1a9ee818e5
Incorporate useful information from notes (take #1 )
2022-08-12 17:31:45 +01:00
Bartosz Dziewoński
31eafded3d
Fix typo (transistions → transitions)
...
Closes GH-1684.
2022-07-07 10:44:37 +02:00
Derick Rethans
ceedf4c524
Fixed bug #75790 : DateTimeZone::getTransitions(start,end)[0] is timestampBegin
2022-06-02 16:37:30 +01:00
Derick Rethans
c7ee9cd4d1
Fixed bug #74234 : DateTimeZone supported timezone names
2022-06-02 15:57:12 +01:00
Christoph M. Becker
4b3eb0a80c
Drop half-finished clause
...
Cf. <https://github.com/php/doc-en/commit/fd8fcbcd6f1e2482e32bb544bbc23b8dc154bb91#r73701907 >.
2022-05-16 10:24:34 +02:00
Derick Rethans
fd8fcbcd6f
Fixed bug #66510 : Clarify the return values of DateTimeZone::listAbbreviations
2022-05-13 15:15:43 +01:00
Máté Kocsis
3860b905cf
[skip-revcheck] Remove unnecessary DateInterval, DatePeriod, DateTime and DateTimeZone method synopsis roles ( #1258 )
2021-12-26 12:08:30 +01:00
Sergey Panteleev
70fe4159bf
Fix some issues in datetime directory
...
Part of #658
2021-06-10 16:36:10 +03:00
Sergey Panteleev
5fabd07880
Removed Changelog entries for PHP 5, PHP 7.0 ( #543 )
2021-04-22 17:52:58 +03: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
e41806c30b
Revert revision(s) 351724 from phpdoc/en/trunk:
...
Document false and null return types
Cf. <https://news-web.php.net/php.doc.cvs/17645 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Jakub Vrana
c80da7c04a
Document false and null return types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +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
00232074c5
Fix #80207 : DateTimeZone::getTransitions return array
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350825 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 08:27:52 +00:00
Christoph Michael Becker
7f569e1f17
Remove more changelog entries, mostly from PHP 5.3 era
...
Patch contributed by Sobak <msobaczewski@gmail.com >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350655 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:08:59 +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
Christoph Michael Becker
1ca11e8adb
Fix #78669 : timezone_abbreviations_list only lists from compiled in db, not PECL timezonedb
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348186 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-20 10:41:18 +00:00
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
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
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
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
Adam Harvey
ddfa050613
Fix English in the DateTimeZone::__construct() parameter description.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334770 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 20:50:14 +00:00
Adam Harvey
9826ef1ad3
Fix English in the DateTimeZone::listIdentifiers() description.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330580 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-21 00:18:38 +00:00
Philip Olson
086dc12715
Added missing refnames
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312463 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-25 19:38:40 +00:00
Richard Quadling
3ab9b409b6
Updated example to show corrected procedural usage.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307705 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-24 10:35:01 +00:00
Peter Cowburn
67e40e7f48
Added param info for timezone_location_get() (closes doc #53827 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307700 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-24 09:23:45 +00:00
Peter Cowburn
4b5aa71aaf
wrapped class name in tag, removed unnecessary para tag
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305693 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-23 13:19:31 +00:00
Adam Harvey
f851c80f54
Fix the commit in r305678 so the manual builds again and reword the return
...
values section of the page, since I already had it open and all. :)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305688 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-23 10:58:37 +00:00
Justin Martin
49f47fddb0
Added parameter for procedural style.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305678 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-23 03:59:08 +00:00
Richard Quadling
55940885de
Add oop or procedural roles to constructorsynopsis and methodsynopsis.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299487 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-19 13:18:07 +00:00
Richard Quadling
f53f615b19
Unintentional <void/> return type. Sorry.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299463 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-18 17:10:19 +00:00
Richard Quadling
f85c864b93
Add roles to methodsynopsis.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299461 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-18 17:08:30 +00:00
Richard Quadling
1b93e89734
Separate constructorsynopsis from methodsynopsis.
...
Added missing procedural function prototypes to OOP methods.
Updated xi:includes to get OOP style constructor and methodsynopsis only.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299350 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-13 15:33:37 +00:00
Daniel Convissor
8b7427f897
Provide new entity for procedural returning false on failure.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298938 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-04 03:46:27 +00:00
Daniel Egeberg
2b587ab01f
Normalized initializer NULL-values to use the &null; entity:
...
for file in `find -name '*.xml'`; do sed -i -e 's/<initializer>null<\/initializer>/<initializer>\&null;<\/initializer>/i' $file; done
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298918 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-03 17:10:04 +00:00
Daniel Convissor
013b8d588c
Make datetimezone_open an alias to construct, just like the rest of the functions.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298828 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-01 04:17:40 +00:00
Derick Rethans
78c83259fe
- Correct this for the renamed timezone name.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296470 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-20 21:55:28 +00:00
Derick Rethans
1cdd3a84d0
- Fixed whitespace that I introduced yesterday
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296469 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-20 21:54:50 +00:00
Derick Rethans
804f1000ae
Use a proper timezone for the example.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296447 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-19 21:55:16 +00:00
Richard Quadling
9a89140aa6
DateTime::ALL => DateTimeZone::ALL. Fix#50301
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291331 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-26 10:15:34 +00:00
Jakub Vrana
201dc3748c
Prefer <initializer> before "defaults to"
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291313 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 14:49:47 +00:00
Peter Cowburn
64ef4e5531
Added/fixed visibility modifiers for DateTimeZone
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291247 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-23 22:51:40 +00:00
Richard Quadling
74da59644d
Remove BOM
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290987 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-19 13:13:35 +00:00
Richard Quadling
f658721332
Use &return.falseforfailure; entity.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290410 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-09 10:26:08 +00:00
Torben Wilson
af4410a7e1
Normalized the sgml-default-dtd-file local-variable line for those
...
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00