Fixed bug #78000: Missing description of reltext's different behaviors (static & method on object)

This commit is contained in:
Derick Rethans 2022-06-02 17:03:30 +01:00
parent 0b54d0b797
commit 26e0c6ef75

View file

@ -919,6 +919,14 @@ class DateTime#1 (3) {
produces "2008-07-24 00:00". The reason for this is that those
five statements directly influence the current time.
</para>
<para>
Keywords such as "first day of" depend on the context in which the
relative format string is used. If used with a static method or function,
the referent is the current system timestamp. However, if used in
<function>DateTime::modify</function> or
<function>DateTimeImmutable::modify</function>, the referent is the object
on which the modify() method is called.
</para>
</note>
<note>