KentarouTakeda
a69d8c2c89
Fix typo: RFC 3399 -> RFC 3339 in DateTimeInterface::ATOM ( #5423 )
...
The `DATE_ATOM` constant description incorrectly references "RFC 3399"
instead of "RFC 3339" (Date and Time on the Internet: Timestamps).
2026-03-17 19:01:09 +01:00
Daniel Scherzer
b53f03f249
DATE_ATOM: refer to RFC 3339, not 3399 ( #5393 )
...
Fixes #5386
2026-03-02 11:36:42 -08:00
Derick Rethans
1d1aad45d5
Updated to version 2026.1 (2026a)
2026-03-02 18:13:37 +00:00
Jack Worman
f5e51d56b0
Fix description for "!" and "|" format tokens
2026-02-04 13:05:17 +01:00
Lucas Werkmeister
6bbb5b9685
Improve date format documentation a little bit ( #5184 )
...
Make it a bit more visible yet that DATE_ISO8601 is not compatible with
ISO-8601 (anyone wondering “why ‘like’?” will hopefully see the note
immediately below), and mention the standards that Atom is compatible
with (straight from RFC 4287, section 3.3; I omitted the “Date and Time
Formats” W3C note as it doesn’t seem as prominent as the others) in the
hope of encouraging more people to use it.
2026-01-30 10:31:26 +00:00
Derick Rethans
27f559e1ba
Updated to version 2025.3 (2025c)
2026-01-14 13:42:58 +00:00
Máté Kocsis
77fca2416a
Sync parameter default value changes ( #5072 )
2026-01-13 22:51:10 +01:00
Máté Kocsis
c142be8117
Fix class constant references inside parameter default values ( #5084 )
2026-01-09 09:50:14 +01:00
AllenJB
c018a4d2c8
DateTimeZone::listIdentifiers improvements ( #4882 )
...
* DateTimeZone::listIdentifiers improvements
* DateTimeZone::listIdentifiers improvements
* DateTimeZone::listIdentifiers improvements (removed runnable annotations - see #4887 )
* Update reference/datetime/datetimezone/listidentifiers.xml
Co-authored-by: Gina Peter Banyard <girgias@php.net >
* Update reference/datetime/datetimezone/listidentifiers.xml
Co-authored-by: Gina Peter Banyard <girgias@php.net >
---------
Co-authored-by: Gina Peter Banyard <girgias@php.net >
2025-12-09 08:46:27 +00:00
Marcos Porto Mariño
cd8b964b85
Fix indentation and remove useless wrapping para tag ( #4982 )
...
Affects files:
- `features/persistent-connections.xml`
- `reference/datetime/examples.xml`
2025-11-10 03:16:31 +00:00
Gina Peter Banyard
0cf48a5a48
Rephrase warning to prevent weird rendering issue
2025-11-04 05:22:30 +00:00
Pierre Ambroise
cafec7df4c
Fix uppercase in method name ( #4966 )
2025-11-02 15:18:35 +01:00
AllenJB
3a8c3e77df
Enable runnable (WASM) examples for datetime ( #4887 )
...
* Enable runnable (WASM) examples for datetime
2025-10-31 10:32:20 +00:00
homersimpsons
dcf89d157a
📝 Document Y format footgun ( #4926 )
...
Updated descriptions for `Y` format to clearly shows that 2 digit years may lead to unexpected results.
2025-10-15 14:54:52 +01:00
Mikhail Alferov
2cfd69623a
setisodate.xml Fix an example ( #4919 )
...
The first example seems to have been moved from a mutable DateTime :) We need to assign the result of the method to a variable
2025-10-12 22:35:43 +01:00
Tim Düsterhus
ce98b568f8
Add &warn.deprecated.function-*; to all deprecated functions
2025-10-04 16:28:55 +02:00
Tim Düsterhus
30eb91e639
Update deprecation information in versions.xml
2025-10-04 16:21:06 +02:00
Tim Düsterhus
42d5fb01e0
Update function attributes
...
Generated with:
build/gen_stub.php --replace-methodsynopses **.stub.php ../phpdoc/en/
And then manually picked the changes.
2025-10-04 16:04:02 +02:00
Martin Melka
7d78942045
Add compatibility note to 'c' date format ( #4847 )
...
The 'c' format produces invalid ISO8601 dates for years 10000
and above. This is not necessarily wrong, but the documentation
should warn about this explicitly.
2025-10-03 10:04:59 -05:00
Derick Rethans
c90415586e
Document what the fields in the output of DateTimeZone::getLocation() mean
2025-09-24 19:12:19 +01:00
Pierre Ambroise
053ae3f6f5
Add DateTime related serialize/unserialize methods ( #4410 )
2025-05-04 09:22:39 +02:00
Marcos Porto Mariño
c9490d424e
[skip-revcheck] Correct indentation ( #4454 )
2025-04-24 16:27:51 +02:00
Derick Rethans
64dc79d6c9
Fixed #4321 : Outdated info regarding multiple consecutive number signs
...
Logically reverts cf220d0944
2025-03-28 10:32:27 +00:00
Derick Rethans
9c4ae03b10
Updated to version 2025.2 (2025b)
2025-03-24 10:02:08 +00:00
Derick Rethans
5a47fd1e27
Updated to version 2025.2 (2025b)
2025-03-24 10:00:11 +00:00
Derick Rethans
bcafb20dea
Updated to version 2025.1 (2025a)
2025-01-17 11:43:59 +00:00
Kamil Tekiela
130701dd4e
Remove duplicate words ( #4280 )
...
* Remove duplicate the
* Remove duplicate that
2024-12-09 16:32:46 +01:00
Alexandre Daubois
576c7c43fe
[PHP 8.4] Add ext-date constant types ( #4237 )
2024-12-03 21:59:52 +00:00
Gina Peter Banyard
26c2a159a4
Add missing type for DATE_* constants ( #4236 )
2024-12-03 21:59:22 +00:00
Mikhail Alferov
34f4834269
createfromdatestring.xml Fix return type and a link to the __construct ( #4228 )
2024-12-03 16:59:27 +01:00
Máté Kocsis
c8ba91f7e5
Synchronize manual with stubs for PHP 8.4 - part 2 ( #4178 )
2024-12-01 12:02:50 +00:00
Máté Kocsis
9b1673cf11
Mark deprecated functions with the #[\Deprecated] attribute ( #4161 )
2024-11-27 20:38:45 +01:00
Gina Peter Banyard
7913e8b074
SUNFUNCS_* constants are deprecated as of PHP 8.4.0 ( #4006 )
...
Improve grouping and add a warning for the whole group
2024-11-05 14:45:18 +00:00
Derick Rethans
e61b19a277
Clarify parsing just the year after two notes were created for this
2024-10-18 11:29:11 +01:00
Vojta Matějka
52222422c0
Added info about the DateInterval::invert property ( #3466 )
2024-09-22 20:28:08 +01:00
Tim MacDonald
8859c8b96c
Standardise casting spacing ( #2717 )
2024-09-11 14:29:15 +01:00
Derick Rethans
57123fe7ba
Updated to version 2024.2 (2024b)
2024-09-06 12:29:40 +01:00
assyrus-favolo
81908751c5
fix typo targed -> target (GH-3708)
2024-09-02 12:35:50 +02:00
Mikhail Alferov
d94400847c
date.xml replace the DateTime::format method by interface method (GH-3705)
...
The same as: https://github.com/php/doc-en/pull/3693
2024-09-01 12:40:07 +02:00
Mikhail Alferov
7f7fce55c0
DateTimeInterface::format: fix interface and method names (GH-3693)
...
We must either add the names of the methods of both classes — DateTime and DateTimeImmutable, or replace the name of the method of the DateTime::format class with the name of the interface method — DateTimeInterface::format, and the name of the DateTime class with the name of the interface common to these classes — DateTimeInterface. Otherwise, the description of the `u` parameter behaves as if it does not concern the DateTimeImmutable::format() method (although it is assumed that every PHP programmer knows about this; but in reality not everyone knows).
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
2024-08-31 15:03:31 +02:00
Mikhail Alferov
08757002f2
datetime/constants.xml: add the missing asteriks ( #3559 )
...
* datetime/constants.xml: add the missing asteriks
* constants.xml: move the dot to end of the sentence
2024-07-26 02:46:14 +01:00
haszi
48ce43fe79
Remove empty resources pages ( #3545 )
...
Co-authored-by: haszi <haszika80@gmail.com >
2024-07-26 02:17:29 +01:00
haszi
d31dda8227
Add global DATE format constants to constants list ( #3512 )
...
* Add global DATE format constants to constants list
* Fix indentation
* Change "since" to "as of"
* Add literal tags
---------
Co-authored-by: haszi <haszika80@gmail.com >
2024-07-09 16:12:31 +01:00
Mikhail Alferov
b93836ce6f
strftime.xml: amend the code of the example ( #3524 )
2024-07-07 15:52:41 +01:00
Mikhail Alferov
dd8aa33167
strftime.xml: remove full stop in title ( #3523 )
2024-07-07 15:52:17 +01:00
Mikhail Alferov
349e3c6502
mktime.xml: replace the deprecated strftime() function in the example ( #3522 )
2024-07-07 15:44:15 +01:00
haszi
605553e228
Remove empty requirements pages ( #3464 )
...
Co-authored-by: haszi <haszika80@gmail.com >
2024-07-07 14:34:34 +01:00
Derick Rethans
3c9bf397b8
Fixed #3458 : missing 'p' with createFromFormat
2024-06-24 11:41:33 +01:00
Gina Peter Banyard
4d17b7b494
[skip-revcheck] Convert class markup to be compatible with DocBook 5.2
...
Closes GH-3415
2024-06-14 17:04:53 +01:00
USAMI Kenta
03b6583a4a
Fix return type of date_sun_info() ( #3207 )
...
This function no longer returns false since PHP 8.
Also, "success" for this function means calling the function with three arguments of the correct type.
- https://github.com/php/php-src/blob/php-7.0.0/ext/date/php_date.c#L4725-L4737
- https://github.com/php/php-src/blob/php-7.4.0/ext/date/php_date.c#L5077-L5094
Therefore, only `array` was consistently written in the return value of the prototype.
2024-05-30 16:07:34 +01:00