svn: /phpdoc/fr/trunk/reference/datetime/ dateinterval/createfromdatestring.xml dateperiod/getenddate.xml dateperiod/getrecurrences.xml datetime/construct.xml datetime/createfromformat.xml datetime/getlasterrors.xml datetime/modify.xml datetimeimmutable/construct.xml datetimeimmutable/createfromformat.xml datetimeimmutable/getlasterrors.xml datetimeimmutable/setisodate.xml datetimeinterface/diff.xml datetimeinterface/format.xml datetimeinterface/getoffset.xml datetimeinterface/gettimestamp.xml d
[email protected] (George Peter Banyard)
| Newsgroups | php.doc.fr |
|---|---|
| Message-ID | <[email protected]> |
girgias Mon, 21 Dec 2020 15:59:37 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=352154
Log:
Apply SVN revision 352143
Changed paths:
U phpdoc/fr/trunk/reference/datetime/dateinterval/createfromdatestring.xml
U phpdoc/fr/trunk/reference/datetime/dateperiod/getenddate.xml
U phpdoc/fr/trunk/reference/datetime/dateperiod/getrecurrences.xml
U phpdoc/fr/trunk/reference/datetime/datetime/construct.xml
U phpdoc/fr/trunk/reference/datetime/datetime/createfromformat.xml
U phpdoc/fr/trunk/reference/datetime/datetime/getlasterrors.xml
U phpdoc/fr/trunk/reference/datetime/datetime/modify.xml
U phpdoc/fr/trunk/reference/datetime/datetimeimmutable/construct.xml
U phpdoc/fr/trunk/reference/datetime/datetimeimmutable/createfromformat.xml
U phpdoc/fr/trunk/reference/datetime/datetimeimmutable/getlasterrors.xml
U phpdoc/fr/trunk/reference/datetime/datetimeimmutable/setisodate.xml
U phpdoc/fr/trunk/reference/datetime/datetimeinterface/diff.xml
U phpdoc/fr/trunk/reference/datetime/datetimeinterface/format.xml
U phpdoc/fr/trunk/reference/datetime/datetimeinterface/getoffset.xml
U phpdoc/fr/trunk/reference/datetime/datetimeinterface/gettimestamp.xml
U phpdoc/fr/trunk/reference/datetime/datetimeinterface/wakeup.xml
U phpdoc/fr/trunk/reference/datetime/datetimezone/construct.xml
U phpdoc/fr/trunk/reference/datetime/datetimezone/getoffset.xml
U phpdoc/fr/trunk/reference/datetime/datetimezone/listabbreviations.xml
U phpdoc/fr/trunk/reference/datetime/datetimezone/listidentifiers.xml
U phpdoc/fr/trunk/reference/datetime/functions/date-default-timezone-set.xml
U phpdoc/fr/trunk/reference/datetime/functions/date-parse.xml
U phpdoc/fr/trunk/reference/datetime/functions/date-sun-info.xml
U phpdoc/fr/trunk/reference/datetime/functions/date-sunrise.xml
U phpdoc/fr/trunk/reference/datetime/functions/date-sunset.xml
U phpdoc/fr/trunk/reference/datetime/functions/date.xml
U phpdoc/fr/trunk/reference/datetime/functions/getdate.xml
U phpdoc/fr/trunk/reference/datetime/functions/gmdate.xml
U phpdoc/fr/trunk/reference/datetime/functions/gmmktime.xml
U phpdoc/fr/trunk/reference/datetime/functions/gmstrftime.xml
U phpdoc/fr/trunk/reference/datetime/functions/idate.xml
U phpdoc/fr/trunk/reference/datetime/functions/localtime.xml
U phpdoc/fr/trunk/reference/datetime/functions/mktime.xml
U phpdoc/fr/trunk/reference/datetime/functions/strftime.xml
U phpdoc/fr/trunk/reference/datetime/functions/strtotime.xml
svn-diffs-352154.txt
(text/x-diff, 82.6 KB)
Modified: phpdoc/fr/trunk/reference/datetime/dateinterval/createfromdatestring.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/dateinterval/createfromdatestring.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/dateinterval/createfromdatestring.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350219 Maintainer: yannick Status: ready -->
-<!-- Reviewed: yes -->
-
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
+<!-- Reviewed: no -->
<refentry xml:id="dateinterval.createfromdatestring" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateInterval::createFromDateString</refname>
@@ -12,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="oop">
- <modifier>public</modifier> <modifier>static</modifier> <type>DateInterval</type><methodname>DateInterval::createFromDateString</methodname>
+ <modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>DateInterval</type><type>false</type></type><methodname>DateInterval::createFromDateString</methodname>
<methodparam><type>string</type><parameter>datetime</parameter></methodparam>
</methodsynopsis>
<para>
@@ -81,12 +80,11 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Retourne un nouvel objet <classname>DateInterval</classname>.
+ Retourne un nouvel objet <classname>DateInterval</classname> en cas de succès, &return.falseforfailure;.
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/dateperiod/getenddate.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/dateperiod/getenddate.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/dateperiod/getenddate.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 340436 Maintainer: jbnahan Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: jbnahan Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: Gildas Dubois-->
-
<refentry xml:id="dateperiod.getenddate" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DatePeriod::getEndDate</refname>
@@ -16,8 +15,8 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
- <modifier>public</modifier> <type>DateTimeInterface</type><methodname>DatePeriod::getEndDate</methodname>
- <void />
+ <modifier>public</modifier> <type class="union"><type>DateTimeInterface</type><type>null</type></type><methodname>DatePeriod::getEndDate</methodname>
+ <void/>
</methodsynopsis>
<para>
Retourne la date de fin de la période.
@@ -102,7 +101,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/dateperiod/getrecurrences.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/dateperiod/getrecurrences.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/dateperiod/getrecurrences.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 349588 Maintainer: girgias Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: girgias Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="dateperiod.getrecurrences" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DatePeriod::getRecurrences</refname>
@@ -13,8 +12,8 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
- <modifier>public</modifier> <type>int</type><methodname>DatePeriod::getRecurrences</methodname>
- <void />
+ <modifier>public</modifier> <type class="union"><type>int</type><type>null</type></type><methodname>DatePeriod::getRecurrences</methodname>
+ <void/>
</methodsynopsis>
<para>
Récupère le nombre de récurrences.
@@ -41,7 +40,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetime/construct.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetime/construct.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetime/construct.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351730 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA -->
-
<refentry xml:id="datetime.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTime::__construct</refname>
@@ -17,13 +16,13 @@
<constructorsynopsis role="oop">
<modifier>public</modifier> <methodname>DateTime::__construct</methodname>
<methodparam choice="opt"><type>string</type><parameter>datetime</parameter><initializer>"now"</initializer></methodparam>
- <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>DateTimeZone</type><type>null</type></type><parameter>timezone</parameter><initializer>&null;</initializer></methodparam>
</constructorsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
- <type>DateTime</type><methodname>date_create</methodname>
+ <type class="union"><type>DateTime</type><type>false</type></type><methodname>date_create</methodname>
<methodparam choice="opt"><type>string</type><parameter>datetime</parameter><initializer>"now"</initializer></methodparam>
- <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>DateTimeZone</type><type>null</type></type><parameter>timezone</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Retourne un nouvel objet <classname>DateTime</classname>.
@@ -47,11 +46,11 @@
<term><parameter>timezone</parameter></term>
<listitem>
<para>
- Un objet <classname>DateTimeZone</classname> representant
+ Un objet <classname>DateTimeZone</classname> représentant
le fuseau horaire de <parameter>$time</parameter>.
</para>
<para>
- Si<parameter>$timezone</parameter> est omis, le fuseau horaire
+ Si<parameter>$timezone</parameter> est omis ou &null;, le fuseau horaire
actuel sera utilisé.
</para>
<note>
@@ -96,7 +95,7 @@
<tbody>
<row>
<entry>7.1.0</entry>
- <entry>A partir de mainteant, les microsecondes sont
+ <entry>A partir de maintenant, les microsecondes sont
préremplie avec les valeurs actuelles et non plus avec '00000'.
</entry>
</row>
@@ -207,7 +206,6 @@
</simplelist>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetime/createfromformat.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetime/createfromformat.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetime/createfromformat.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA -->
-
<refentry xml:id="datetime.createfromformat" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTime::createFromFormat</refname>
@@ -19,7 +18,7 @@
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>DateTime</type><type>false</type></type><methodname>DateTime::createFromFormat</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
<methodparam><type>string</type><parameter>datetime</parameter></methodparam>
- <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>DateTimeZone</type><type>null</type></type><parameter>timezone</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
@@ -26,7 +25,7 @@
<type class="union"><type>DateTime</type><type>false</type></type><methodname>date_create_from_format</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
<methodparam><type>string</type><parameter>datetime</parameter></methodparam>
- <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>DateTimeZone</type><type>null</type></type><parameter>timezone</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Retourne un nouvel objet DateTime representant la date et l'heure spécifiées
@@ -285,8 +284,8 @@
</table>
</para>
<para>
- Pour inclure un caractère litéral dans <parameter>format</parameter>,
- vous devez l'échaper avec un antislash (<literal>\</literal>).
+ Pour inclure un caractère littéral dans <parameter>format</parameter>,
+ vous devez l'échapper avec un antislash (<literal>\</literal>).
</para>
<para>
Les caractères non reconnus dans le format feront échouer l'analyse
@@ -326,7 +325,7 @@
le fuseau horaire désiré.
</para>
<para>
- Si <parameter>timezone</parameter> est omis et
+ Si <parameter>timezone</parameter> est omis ou &null; et
<parameter>datetime</parameter> ne contient pas de fuseau,
le fuseau courant sera utilisé.
</para>
@@ -468,7 +467,6 @@
</simplelist>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetime/getlasterrors.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetime/getlasterrors.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetime/getlasterrors.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 329325 Maintainer: yannick Status: ready -->
-<!-- Reviewed: yes Maintainer: yannick -->
-
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
+<!-- Reviewed: no Maintainer: yannick -->
<refentry xml:id="datetime.getlasterrors" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTime::getLastErrors</refname>
@@ -14,13 +13,13 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
- <modifier>public</modifier> <modifier>static</modifier> <type>array</type><methodname>DateTime::getLastErrors</methodname>
- <void />
+ <modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>array</type><type>false</type></type><methodname>DateTime::getLastErrors</methodname>
+ <void/>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
- <type>array</type><methodname>date_get_last_errors</methodname>
- <void />
+ <type class="union"><type>array</type><type>false</type></type><methodname>date_get_last_errors</methodname>
+ <void/>
</methodsynopsis>
<para>
Retourne un tableau contenant les dernières erreurs
@@ -37,7 +36,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Retourne un tableau contenant les erreurs et alertes.
+ Retourne un tableau contenant les erreurs et alertes, ou &false; s'il y a
+ ni erreur ou alertes.
</para>
</refsect1>
@@ -98,7 +98,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetime/modify.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetime/modify.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetime/modify.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350655 Maintainer: jpauli Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: jpauli Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="datetime.modify" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTime::modify</refname>
@@ -14,12 +13,12 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
- <modifier>public</modifier> <type>DateTime</type><methodname>DateTime::modify</methodname>
+ <modifier>public</modifier> <type class="union"><type>DateTime</type><type>false</type></type><methodname>DateTime::modify</methodname>
<methodparam><type>string</type><parameter>modifier</parameter></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
- <type>DateTime</type><methodname>date_modify</methodname>
+ <type class="union"><type>DateTime</type><type>false</type></type><methodname>date_modify</methodname>
<methodparam><type>DateTime</type><parameter>object</parameter></methodparam>
<methodparam><type>string</type><parameter>modifier</parameter></methodparam>
</methodsynopsis>
@@ -120,7 +119,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetimeimmutable/construct.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetimeimmutable/construct.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetimeimmutable/construct.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350219 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="datetimeimmutable.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTimeImmutable::__construct</refname>
@@ -16,13 +15,13 @@
<constructorsynopsis role="oop">
<modifier>public</modifier> <methodname>DateTimeImmutable::__construct</methodname>
<methodparam choice="opt"><type>string</type><parameter>datetime</parameter><initializer>"now"</initializer></methodparam>
- <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>DateTimeZone</type><type>null</type></type><parameter>timezone</parameter><initializer>&null;</initializer></methodparam>
</constructorsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
- <type>DateTimeImmutable</type><methodname>date_create_immutable</methodname>
+ <type class="union"><type>DateTimeImmutable</type><type>false</type></type><methodname>date_create_immutable</methodname>
<methodparam choice="opt"><type>string</type><parameter>datetime</parameter><initializer>"now"</initializer></methodparam>
- <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>DateTimeZone</type><type>null</type></type><parameter>timezone</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Identique à <methodname>DateTime::__construct</methodname> mais fonctionne avec
@@ -31,7 +30,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetimeimmutable/createfromformat.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetimeimmutable/createfromformat.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetimeimmutable/createfromformat.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350219 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA -->
-
<refentry xml:id="datetimeimmutable.createfromformat" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTimeImmutable::createFromFormat</refname>
@@ -16,17 +15,17 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
- <modifier>public</modifier> <modifier>static</modifier> <type>DateTimeImmutable</type><methodname>DateTimeImmutable::createFromFormat</methodname>
+ <modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>DateTimeImmutable</type><type>false</type></type><methodname>DateTimeImmutable::createFromFormat</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
<methodparam><type>string</type><parameter>datetime</parameter></methodparam>
- <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>DateTimeZone</type><type>null</type></type><parameter>timezone</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
- <type>DateTimeImmutable</type><methodname>date_create_immutable_from_format</methodname>
+ <type class="union"><type>DateTimeImmutable</type><type>false</type></type><methodname>date_create_immutable_from_format</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
<methodparam><type>string</type><parameter>datetime</parameter></methodparam>
- <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>DateTimeZone</type><type>null</type></type><parameter>timezone</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Identique à <methodname>DateTime::createFromFormat</methodname> mais fonctionne avec
@@ -35,7 +34,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetimeimmutable/getlasterrors.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetimeimmutable/getlasterrors.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetimeimmutable/getlasterrors.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 330266 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="datetimeimmutable.getlasterrors" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTimeImmutable::getLastErrors</refname>
@@ -12,8 +11,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="oop">
- <modifier>public</modifier> <modifier>static</modifier> <type>array</type><methodname>DateTimeImmutable::getLastErrors</methodname>
- <void />
+ <modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>array</type><type>false</type></type><methodname>DateTimeImmutable::getLastErrors</methodname>
+ <void/>
</methodsynopsis>
<para>
Identique à <methodname>DateTime::getLastErrors</methodname> mais fonctionne avec
@@ -22,7 +21,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetimeimmutable/setisodate.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetimeimmutable/setisodate.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetimeimmutable/setisodate.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 330266 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="datetimeimmutable.setisodate" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTimeImmutable::setISODate</refname>
@@ -15,7 +14,7 @@
<modifier>public</modifier> <type>DateTimeImmutable</type><methodname>DateTimeImmutable::setISODate</methodname>
<methodparam><type>int</type><parameter>year</parameter></methodparam>
<methodparam><type>int</type><parameter>week</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>day</parameter><initializer>1</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>dayOfWeek</parameter><initializer>1</initializer></methodparam>
</methodsynopsis>
<para>
Identique à <methodname>DateTime::setISODate</methodname> mais fonctionne avec
@@ -24,7 +23,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetimeinterface/diff.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetimeinterface/diff.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetimeinterface/diff.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="datetime.diff" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTime::diff</refname>
@@ -32,8 +31,8 @@
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
- <type class="union"><type>DateInterval</type><type>false</type></type><methodname>date_diff</methodname>
- <methodparam><type>DateTimeInterface</type><parameter>originObject</parameter></methodparam>
+ <type>DateInterval</type><methodname>date_diff</methodname>
+ <methodparam><type>DateTimeInterface</type><parameter>baseObject</parameter></methodparam>
<methodparam><type>DateTimeInterface</type><parameter>targetObject</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>absolute</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
@@ -153,7 +152,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetimeinterface/format.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetimeinterface/format.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetimeinterface/format.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351587 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="datetime.format" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTime::format</refname>
@@ -16,20 +15,20 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
- <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>DateTime::format</methodname>
+ <modifier>public</modifier> <type>string</type><methodname>DateTime::format</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
</methodsynopsis>
<methodsynopsis role="DateTimeImmutable">
- <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>DateTimeImmutable::format</methodname>
+ <modifier>public</modifier> <type>string</type><methodname>DateTimeImmutable::format</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
</methodsynopsis>
<methodsynopsis role="DateTimeInterface">
- <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>DateTimeInterface::format</methodname>
+ <modifier>public</modifier> <type>string</type><methodname>DateTimeInterface::format</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
- <type class="union"><type>string</type><type>false</type></type><methodname>date_format</methodname>
+ <type>string</type><methodname>date_format</methodname>
<methodparam><type>DateTimeInterface</type><parameter>object</parameter></methodparam>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
</methodsynopsis>
@@ -312,7 +311,7 @@
<row>
<entry><literal>r</literal></entry>
<entry>Format de date <link xlink:href="&url.rfc;2822">RFC 2822</link></entry>
- <entry>Exemple : <literal>Thu, 21 Dec 2000 16:01:07 +0200</literal></entry>
+ <entry>Exemple : <literal>Thu, 21 Dec 2000 16:01:070200</literal></entry>
</row>
<row>
<entry><literal>U</literal></entry>
@@ -345,10 +344,32 @@
&reftitle.returnvalues;
<para>
Retourne la date formatée, sous forme de chaîne de caractères,
- en cas de succès&return.falseforfailure;.
+ en cas de succès.
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ Antérieur à cette version, &false; était retourné en cas d'échec.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<example>
@@ -396,7 +417,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetimeinterface/getoffset.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetimeinterface/getoffset.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetimeinterface/getoffset.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="datetime.getoffset" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTime::getOffset</refname>
@@ -17,19 +16,19 @@
<para>&style.oop;</para>
<methodsynopsis role="oop">
<modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>DateTime::getOffset</methodname>
- <void />
+ <void/>
</methodsynopsis>
<methodsynopsis role="DateTimeImmutable">
<modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>DateTimeImmutable::getOffset</methodname>
- <void />
+ <void/>
</methodsynopsis>
<methodsynopsis role="DateTimeInterface">
<modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>DateTimeInterface::getOffset</methodname>
- <void />
+ <void/>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
- <type class="union"><type>int</type><type>false</type></type><methodname>date_offset_get</methodname>
+ <type>int</type><methodname>date_offset_get</methodname>
<methodparam><type>DateTimeInterface</type><parameter>object</parameter></methodparam>
</methodsynopsis>
<para>
@@ -47,11 +46,32 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Retourne le décalage horaire en seconde, depuis UTC en cas de succès
- &return.falseforfailure;.
+ Retourne le décalage horaire en seconde, depuis UTC en cas de succès.
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ Antérieur à cette version, &false; était retourné en cas d'échec.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<example>
@@ -94,7 +114,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetimeinterface/gettimestamp.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetimeinterface/gettimestamp.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetimeinterface/gettimestamp.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 330270 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="datetime.gettimestamp" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTime::getTimestamp</refname>
@@ -17,15 +16,15 @@
<para>&style.oop;</para>
<methodsynopsis role="oop">
<modifier>public</modifier> <type>int</type><methodname>DateTime::getTimestamp</methodname>
- <void />
+ <void/>
</methodsynopsis>
<methodsynopsis role="DateTimeImmutable">
<modifier>public</modifier> <type>int</type><methodname>DateTimeImmutable::getTimestamp</methodname>
- <void />
+ <void/>
</methodsynopsis>
<methodsynopsis role="DateTimeInterface">
- <modifier>public</modifier> <type>int</type><methodname>DateTimeInterface::getTimestamp</methodname>
- <void />
+ <modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>DateTimeInterface::getTimestamp</methodname>
+ <void/>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
@@ -98,7 +97,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetimeinterface/wakeup.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetimeinterface/wakeup.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetimeinterface/wakeup.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 330435 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="datetime.wakeup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTime::__wakeup</refname>
@@ -14,16 +13,16 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="oop">
- <modifier>public</modifier> <methodname>DateTime::__wakeup</methodname>
- <void />
+ <modifier>public</modifier> <type>void</type><methodname>DateTime::__wakeup</methodname>
+ <void/>
</methodsynopsis>
<methodsynopsis role="DateTimeImmutable">
- <modifier>public</modifier> <methodname>DateTimeImmutable::__wakeup</methodname>
- <void />
+ <modifier>public</modifier> <type>void</type><methodname>DateTimeImmutable::__wakeup</methodname>
+ <void/>
</methodsynopsis>
<methodsynopsis role="DateTimeInterface">
- <modifier>public</modifier> <methodname>DateTimeInterface::__wakeup</methodname>
- <void />
+ <modifier>public</modifier> <type>void</type><methodname>DateTimeInterface::__wakeup</methodname>
+ <void/>
</methodsynopsis>
<para>
Le gestionnaire <link linkend="object.wakeup">__wakeup()</link>.
@@ -43,7 +42,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetimezone/construct.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetimezone/construct.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetimezone/construct.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351730 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA -->
-
<refentry xml:id="datetimezone.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTimeZone::__construct</refname>
@@ -20,7 +19,7 @@
</constructorsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
- <type>DateTimeZone</type><methodname>timezone_open</methodname>
+ <type class="union"><type>DateTimeZone</type><type>false</type></type><methodname>timezone_open</methodname>
<methodparam><type>string</type><parameter>timezone</parameter></methodparam>
</methodsynopsis>
<para>
@@ -119,7 +118,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetimezone/getoffset.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetimezone/getoffset.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetimezone/getoffset.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="datetimezone.getoffset" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTimeZone::getOffset</refname>
@@ -13,12 +12,12 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
- <modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>DateTimeZone::getOffset</methodname>
+ <modifier>public</modifier> <type>int</type><methodname>DateTimeZone::getOffset</methodname>
<methodparam><type>DateTimeInterface</type><parameter>datetime</parameter></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
- <type class="union"><type>int</type><type>false</type></type><methodname>timezone_offset_get</methodname>
+ <type>int</type><methodname>timezone_offset_get</methodname>
<methodparam><type>DateTimeZone</type><parameter>object</parameter></methodparam>
<methodparam><type>DateTimeInterface</type><parameter>datetime</parameter></methodparam>
</methodsynopsis>
@@ -51,7 +50,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Retourne le décalage horaire, exprimé en secondes, en cas de succès&return.falseforfailure;.
+ Retourne le décalage horaire, exprimé en secondes, en cas de succès.
</para>
</refsect1>
@@ -68,11 +67,17 @@
</thead>
<tbody>
<row>
+ <entry>8.0.0</entry>
+ <entry>
+ Antérieur à cette version, &false; était retourné en cas d'échec.
+ </entry>
+ </row>
+ <row>
<entry>5.5.19, 5.6.3</entry>
<entry>
Type de <parameter>datetime</parameter> modifié à
<interfacename>DateTimeInterface</interfacename>.
- Précédement, <classname>DateTime</classname>.
+ Précédemment, <classname>DateTime</classname>.
</entry>
</row>
</tbody>
@@ -94,7 +99,7 @@
$dateTimeZoneTaipei = new DateTimeZone("Asia/Taipei");
$dateTimeZoneJapan = new DateTimeZone("Asia/Tokyo");
-// Crée deux objets DateTime qui contiennent le même timestampe Unix,
+// Crée deux objets DateTime qui contiennent le même timestamp Unix,
// mais sont situés dans deux fuseaux horaires différents.
$dateTimeTaipei = new DateTime("now", $dateTimeZoneTaipei);
$dateTimeJapan = new DateTime("now", $dateTimeZoneJapan);
@@ -114,7 +119,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetimezone/listabbreviations.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetimezone/listabbreviations.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetimezone/listabbreviations.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="datetimezone.listabbreviations" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTimeZone::listAbbreviations</refname>
@@ -13,17 +12,17 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
- <modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>array</type><type>false</type></type><methodname>DateTimeZone::listAbbreviations</methodname>
+ <modifier>public</modifier> <modifier>static</modifier> <type>array</type><methodname>DateTimeZone::listAbbreviations</methodname>
<void/>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
- <type class="union"><type>array</type><type>false</type></type><methodname>timezone_abbreviations_list</methodname>
+ <type>array</type><methodname>timezone_abbreviations_list</methodname>
<void/>
</methodsynopsis>
<note>
<para>
- Les données pour cette fonction sont précompilées pour des raisons de
+ Les données pour cette fonction sont pré-compilées pour des raisons de
performance, et ne sont pas mit à jour lors de l'utilisation d'une
<link xlink:href="&url.pecl.package;timezonedb">timezonedb</link> plus récente.
</para>
@@ -33,7 +32,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Retourne un &array; en cas de succès&return.falseforfailure;.
+ Retourne le &array; des abréviations des fuseaux horaires.
</para>
</refsect1>
@@ -100,7 +99,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/datetimezone/listidentifiers.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/datetimezone/listidentifiers.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/datetimezone/listidentifiers.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="datetimezone.listidentifiers" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>DateTimeZone::listIdentifiers</refname>
@@ -13,15 +12,15 @@
&reftitle.description;
<para>&style.oop;</para>
<methodsynopsis role="oop">
- <modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>array</type><type>false</type></type><methodname>DateTimeZone::listIdentifiers</methodname>
+ <modifier>public</modifier> <modifier>static</modifier> <type>array</type><methodname>DateTimeZone::listIdentifiers</methodname>
<methodparam choice="opt"><type>int</type><parameter>timezoneGroup</parameter><initializer>DateTimeZone::ALL</initializer></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>countryCode</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>countryCode</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">
- <type class="union"><type>array</type><type>false</type></type><methodname>timezone_identifiers_list</methodname>
+ <type>array</type><methodname>timezone_identifiers_list</methodname>
<methodparam choice="opt"><type>int</type><parameter>timezoneGroup</parameter><initializer>DateTimeZone::ALL</initializer></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>countryCode</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>countryCode</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -59,10 +58,40 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Retourne un tableau en cas de succès&return.falseforfailure;.
+ Retourne le &array; des identificateurs des fuseaux horaires.
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ Antérieur à cette version, &false; était retourné en cas d'échec.
+ </entry>
+ </row>
+ <row>
+ <entry>7.1.0</entry>
+ <entry>
+ <parameter>countryCode</parameter> est désormais nullable.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -102,7 +131,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/functions/date-default-timezone-set.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/functions/date-default-timezone-set.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/functions/date-default-timezone-set.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350653 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes Maintainer: yannick -->
-
<refentry xml:id="function.date-default-timezone-set" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>date_default_timezone_set</refname>
@@ -15,7 +14,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>date_default_timezone_set</methodname>
- <methodparam><type>string</type><parameter>timezoneID</parameter></methodparam>
+ <methodparam><type>string</type><parameter>timezoneId</parameter></methodparam>
</methodsynopsis>
<para>
La fonction <function>date_default_timezone_set</function>
@@ -44,7 +43,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>timezoneID</parameter></term>
+ <term><parameter>timezoneId</parameter></term>
<listitem>
<para>
L'identifiant de décalage horaire, comme <literal>UTC</literal>,
@@ -61,7 +60,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Cette fonction retourne &false; si <parameter>timezoneID</parameter>
+ Cette fonction retourne &false; si <parameter>timezoneId</parameter>
n'est pas valide, &true; sinon.
</para>
</refsect1>
@@ -95,12 +94,11 @@
<para>
<simplelist>
<member><function>date_default_timezone_get</function></member>
- <member><xref linkend="timezones" /></member>
+ <member><xref linkend="timezones"/></member>
</simplelist>
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/functions/date-parse.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/functions/date-parse.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/functions/date-parse.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes Maintainer: yannick -->
-
<refentry xml:id="function.date-parse" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>date_parse</refname>
@@ -11,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type class="union"><type>array</type><type>false</type></type><methodname>date_parse</methodname>
+ <type>array</type><methodname>date_parse</methodname>
<methodparam><type>string</type><parameter>datetime</parameter></methodparam>
</methodsynopsis>
</refsect1>
@@ -170,7 +169,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/functions/date-sun-info.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/functions/date-sun-info.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/functions/date-sun-info.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DAnnebicque -->
-
<refentry xml:id="function.date-sun-info" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>date_sun_info</refname>
@@ -13,7 +12,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type class="union"><type>array</type><type>false</type></type><methodname>date_sun_info</methodname>
+ <type>array</type><methodname>date_sun_info</methodname>
<methodparam><type>int</type><parameter>timestamp</parameter></methodparam>
<methodparam><type>float</type><parameter>latitude</parameter></methodparam>
<methodparam><type>float</type><parameter>longitude</parameter></methodparam>
@@ -261,7 +260,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/functions/date-sunrise.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/functions/date-sunrise.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/functions/date-sunrise.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351133 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DAnnebicque -->
-
<refentry xml:id="function.date-sunrise" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -14,13 +13,13 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>date_sunrise</methodname>
+ <type class="union"><type>string</type><type>int</type><type>float</type><type>false</type></type><methodname>date_sunrise</methodname>
<methodparam><type>int</type><parameter>timestamp</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>returnFormat</parameter><initializer>SUNFUNCS_RET_STRING</initializer></methodparam>
- <methodparam choice="opt"><type>float</type><parameter>latitude</parameter><initializer>ini_get("date.default_latitude")</initializer></methodparam>
- <methodparam choice="opt"><type>float</type><parameter>longitude</parameter><initializer>ini_get("date.default_longitude")</initializer></methodparam>
- <methodparam choice="opt"><type>float</type><parameter>zenith</parameter><initializer>ini_get("date.sunrise_zenith")</initializer></methodparam>
- <methodparam choice="opt"><type>float</type><parameter>utcOffset</parameter><initializer>0</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>returnFormat</parameter><initializer><constant>SUNFUNCS_RET_STRING</constant></initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>latitude</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>longitude</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>zenith</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>utcOffset</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
<function>date_sunrise</function> retourne l'heure de lever du soleil pour un jour
@@ -165,6 +164,31 @@
&date.timezone.errors.description;
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>latitude</parameter>, <parameter>longitude</parameter>,
+ <parameter>zenith</parameter> et <parameter>latitude</parameter> sont désormais nullable.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -223,7 +247,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/functions/date-sunset.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/functions/date-sunset.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/functions/date-sunset.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351133 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DAnnebicque -->
-
<refentry xml:id="function.date-sunset" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>date_sunset</refname>
@@ -15,14 +14,14 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>date_sunset</methodname>
+ <type class="union"><type>string</type><type>int</type><type>float</type><type>false</type></type><methodname>date_sunset</methodname>
<methodparam><type>int</type><parameter>timestamp</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>returnFormat</parameter><initializer>SUNFUNCS_RET_STRING</initializer></methodparam>
- <methodparam choice="opt"><type>float</type><parameter>latitude</parameter><initializer>ini_get("date.default_latitude")</initializer></methodparam>
- <methodparam choice="opt"><type>float</type><parameter>longitude</parameter><initializer>ini_get("date.default_longitude")</initializer></methodparam>
- <methodparam choice="opt"><type>float</type><parameter>zenith</parameter><initializer>ini_get("date.sunset_zenith")</initializer></methodparam>
- <methodparam choice="opt"><type>float</type><parameter>utcOffset</parameter><initializer>0</initializer></methodparam>
- </methodsynopsis>
+ <methodparam choice="opt"><type>int</type><parameter>returnFormat</parameter><initializer><constant>SUNFUNCS_RET_STRING</constant></initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>latitude</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>longitude</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>zenith</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>utcOffset</parameter><initializer>0</initializer></methodparam>
+ </methodsynopsis>
<para>
La fonction <function>date_sunset</function> retourne l'heure de coucher
du soleil pour un jour (spécifié en tant que <parameter>timestamp</parameter>
@@ -162,11 +161,36 @@
<para>
Retourne l'heure de coucher du soleil dans le <parameter>returnFormat</parameter>
spécifié&return.falseforfailure;. Une raison possible de l'échec est que le
- le soleil ne se couche pas, ce qui se passe à l'intérieur des cercles
+ le soleil ne se couche pas, ce qui se passe à l'intérieur des cercles
polaires pour une partie de l'année.
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>latitude</parameter>, <parameter>longitude</parameter>,
+ <parameter>zenith</parameter> et <parameter>latitude</parameter> sont désormais nullable.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -180,7 +204,7 @@
Latitude: 38.4 North
Longitude: 9 West
Zenith ~= 90
-offset: +1 GMT
+offset:1 GMT
*/
echo date("D M d Y"). ', sunset time : ' .date_sunset(time(), SUNFUNCS_RET_STRING, 38.4, -9, 90, 1);
@@ -225,7 +249,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -245,4 +268,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
Modified: phpdoc/fr/trunk/reference/datetime/functions/date.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/functions/date.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/functions/date.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350653 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA -->
-
<refentry xml:id="function.date" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>date</refname>
@@ -15,7 +14,7 @@
<methodsynopsis>
<type>string</type><methodname>date</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>timestamp</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Retourne une date sous forme d'une chaîne, au format
@@ -58,6 +57,30 @@
&date.timezone.errors.description;
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>timestamp</parameter> est désormais nullable.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -207,8 +230,6 @@
</para>
</refsect1>
</refentry>
-
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/functions/getdate.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/functions/getdate.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/functions/getdate.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 311354 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.getdate" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>getdate</refname>
@@ -13,12 +12,12 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>getdate</methodname>
- <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>timestamp</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
- Retourne un tableau associatif contenant les informations
- de date et d'heure du timestamp <parameter>timestamp</parameter>
- lorsqu'il est fourni, sinon, le timestamp de la date/heure courante locale.
+ Retourne un <type>array</type> associatif contenant les informations
+ de date et d'heure du <parameter>timestamp</parameter>, ou la date/heure
+ courante locale si <parameter>timestamp</parameter> est omis ou &null;.
</para>
</refsect1>
@@ -115,6 +114,30 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>timestamp</parameter> est désormais nullable.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -164,7 +187,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/functions/gmdate.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/functions/gmdate.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/functions/gmdate.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350653 Maintainer: yannick Status: ready -->
-<!-- Reviewed: yes -->
-
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
+<!-- Reviewed: no -->
<refentry xml:id="function.gmdate" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gmdate</refname>
@@ -14,7 +13,7 @@
<methodsynopsis>
<type>string</type><methodname>gmdate</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>timestamp</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
<function>gmdate</function> est identique à la fonction
@@ -46,12 +45,34 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Retourne une date formatée. Si une valeur non numérique est utilisée pour le
- paramètre <parameter>timestamp</parameter>, &false; est retourné et une erreur
- de niveau <constant>E_WARNING</constant> sera émise.
+ Retourne une date formatée.
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>timestamp</parameter> est désormais nullable.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -58,7 +79,7 @@
<example>
<title>Exemple avec <function>gmdate</function></title>
<para>
- Lorsque cette fonction est exécutée en Finlande (GMT +0200), la première
+ Lorsque cette fonction est exécutée en Finlande (GMT0200), la première
ligne ci-dessous affichera <literal>"Jan 01 1998 00:00:00"</literal>,
tandis que la seconde affichera
<literal>"Dec 31 1997 22:00:00"</literal>.
@@ -87,7 +108,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/functions/gmmktime.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/functions/gmmktime.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/functions/gmmktime.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351133 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes Maintainer: yannick -->
-
<refentry xml:id="function.gmmktime" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gmmktime</refname>
@@ -12,14 +11,13 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>gmmktime</methodname>
- <methodparam choice="opt"><type>int</type><parameter>hour</parameter><initializer>gmdate("H")</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>minute</parameter><initializer>gmdate("i")</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>second</parameter><initializer>gmdate("s")</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>month</parameter><initializer>gmdate("n")</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>day</parameter><initializer>gmdate("j")</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>year</parameter><initializer>gmdate("Y")</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>isDST</parameter><initializer>-1</initializer></methodparam>
+ <type class="union"><type>int</type><type>false</type></type><methodname>gmmktime</methodname>
+ <methodparam><type>int</type><parameter>hour</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>minute</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>second</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>month</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>day</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>year</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Identique à la fonction <function>mktime</function> excepté le fait que les paramètres
@@ -127,10 +125,41 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Retourne un timestamp Unix, sous la forme d'un &integer;.
+ Retourne un timestamp Unix, sous la forme d'un &integer;, &return.falseforfailure;.
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>hour</parameter> n'est plus optionnel.
+ </entry>
+ </row>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>minute</parameter>, <parameter>second</parameter>, <parameter>month</parameter>,
+ <parameter>day</parameter> et <parameter>year</parameter> sont désormais nullable.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -159,7 +188,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/functions/gmstrftime.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/functions/gmstrftime.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/functions/gmstrftime.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.gmstrftime" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gmstrftime</refname>
@@ -12,9 +11,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>gmstrftime</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>gmstrftime</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>timestamp</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
<function>gmstrftime</function> se comporte exactement comme
@@ -54,6 +53,31 @@
Les noms des mois, des jours de la semaine et des autres chaînes
dépendant d'une localisation donnée, respectent la localisation
courante définie par la fonction <function>setlocale</function>.
+ En cas d'échec, &false; est retourné.
+ </para>
+ </refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>timestamp</parameter> est désormais nullable.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
</para>
</refsect1>
@@ -84,7 +108,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/functions/idate.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/functions/idate.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/functions/idate.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351133 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes Maintainer: yannick -->
-
<refentry xml:id="function.idate" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>idate</refname>
@@ -12,9 +11,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>idate</methodname>
+ <type class="union"><type>int</type><type>false</type></type><methodname>idate</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>timestamp</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
<function>idate</function> retourne un nombre formaté avec le
@@ -137,7 +136,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Retourne un &integer;.
+ Retourne un <type>int</type> en cas de succès, &return.falseforfailure;.
</para>
<para>
Sachant que <function>idate</function> retourne toujours un &integer;
@@ -152,6 +151,30 @@
&date.timezone.errors.description;
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>timestamp</parameter> est désormais nullable.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -184,7 +207,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/functions/localtime.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/functions/localtime.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/functions/localtime.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350653 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DAnnebicque -->
-
<refentry xml:id="function.localtime" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>localtime</refname>
@@ -14,7 +13,7 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>localtime</methodname>
- <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>timestamp</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>associative</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
@@ -103,6 +102,30 @@
&date.timezone.errors.description;
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>timestamp</parameter> est désormais nullable.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -162,7 +185,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/functions/mktime.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/functions/mktime.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/functions/mktime.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351730 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.mktime" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mktime</refname>
@@ -14,14 +13,13 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>mktime</methodname>
- <methodparam choice="opt"><type>int</type><parameter>hour</parameter><initializer>date("H")</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>minute</parameter><initializer>date("i")</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>second</parameter><initializer>date("s")</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>month</parameter><initializer>date("n")</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>day</parameter><initializer>date("j")</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>year</parameter><initializer>date("Y")</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>isDST</parameter><initializer>-1</initializer></methodparam>
+ <type class="union"><type>int</type><type>false</type></type><methodname>mktime</methodname>
+ <methodparam><type>int</type><parameter>hour</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>minute</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>second</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>month</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>day</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>year</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
<function>mktime</function> retourne un timestamp UNIX
@@ -175,6 +173,37 @@
&date.timezone.errors.description;
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>hour</parameter> n'est plus optionnel.
+ </entry>
+ </row>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>minute</parameter>, <parameter>second</parameter>, <parameter>month</parameter>,
+ <parameter>day</parameter> et <parameter>year</parameter> sont désormais nullable.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -263,7 +292,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/functions/strftime.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/functions/strftime.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/functions/strftime.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350653 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.strftime" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>strftime</refname>
@@ -12,9 +11,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>strftime</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>strftime</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>timestamp</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Formate une date et/ou une heure suivant la localisation locale. Les noms
@@ -386,6 +385,30 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>timestamp</parameter> est désormais nullable.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -661,7 +684,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/fr/trunk/reference/datetime/functions/strtotime.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/functions/strtotime.xml 2020-12-21 15:08:03 UTC (rev 352153)
+++ phpdoc/fr/trunk/reference/datetime/functions/strtotime.xml 2020-12-21 15:59:37 UTC (rev 352154)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351196 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 352143 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes Maintainer: yannick -->
-
<refentry xml:id="function.strtotime" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>strtotime</refname>
@@ -11,9 +10,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>strtotime</methodname>
+ <type class="union"><type>int</type><type>false</type></type><methodname>strtotime</methodname>
<methodparam><type>string</type><parameter>datetime</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>now</parameter><initializer>time()</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>baseTimestamp</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<simpara>
La fonction <function>strtotime</function> essaye de lire une
@@ -20,7 +19,7 @@
date au format anglais fournie par le paramètre <parameter>time</parameter>,
et de la transformer en timestamp Unix (le nombre de secondes depuis
le 1er Janvier 1970 à 00:00:00 UTC), relativement au timestamp
- <parameter>now</parameter>, ou à la date courante si ce dernier
+ <parameter>baseTimestamp</parameter>, ou à la date courante si ce dernier
est omis.
</simpara>
<warning>
@@ -52,7 +51,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>now</parameter></term>
+ <term><parameter>baseTimestamp</parameter></term>
<listitem>
<para>
Le timestamp, représentant la date courante, utilisé pour le calcul
@@ -76,6 +75,30 @@
&date.timezone.errors.description;
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>baseTimestamp</parameter> est désormais nullable.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -185,7 +208,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml