cvs: phpdoc-fr /reference/datetime/functions date-create.xml date-sunrise.xml date-sunset.xml getdate.xml gmmktime.xml gmstrftime.xml idate.xml
localtime.xml mktime.xml strftime.xml timezone-name-from-abbr.xml
| From: | Yannick Torres | Date: | Fri, 09 Jan 2009 19:01:05 +0000 |
| Subject: | cvs: phpdoc-fr /reference/datetime/functions date-create.xml date-sunrise.xml date-sunset.xml getdate.xml gmmktime.xml gmstrftime.xml idate.xml localtime.xml mktime.xml strftime.xml timezone-name-from-abbr.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-6317@lists.php.net to get a copy of this message | ||
yannick Fri Jan 9 19:01:05 2009 UTC
Modified files:
/phpdoc-fr/reference/datetime/functions date-create.xml
date-sunrise.xml
date-sunset.xml getdate.xml
gmmktime.xml gmstrftime.xml
idate.xml localtime.xml
mktime.xml strftime.xml
timezone-name-from-abbr.xml
Log:
sync with EN
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/date-create.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-fr/reference/datetime/functions/date-create.xml diff -u phpdoc-fr/reference/datetime/functions/date-create.xml:1.6 phpdoc-fr/reference/datetime/functions/date-create.xml:1.7 --- phpdoc-fr/reference/datetime/functions/date-create.xml:1.6 Wed Jan 7 20:50:49 2009 +++ phpdoc-fr/reference/datetime/functions/date-create.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.date-create" xmlns="http://docbook.org/ns/docbook"> @@ -12,8 +12,8 @@ &reftitle.description; <methodsynopsis> <type>DateTime</type><methodname>date_create</methodname> - <methodparam choice="opt"><type>string</type><parameter>time</parameter></methodparam> - <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>time</parameter><initializer>NULL</initializer></methodparam> + <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter><initializer>NULL</initializer></methodparam> </methodsynopsis> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/date-sunrise.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/datetime/functions/date-sunrise.xml diff -u phpdoc-fr/reference/datetime/functions/date-sunrise.xml:1.11 phpdoc-fr/reference/datetime/functions/date-sunrise.xml:1.12 --- phpdoc-fr/reference/datetime/functions/date-sunrise.xml:1.11 Sun Jul 22 17:47:27 2007 +++ phpdoc-fr/reference/datetime/functions/date-sunrise.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.date-sunrise" xmlns="http://docbook.org/ns/docbook"> @@ -14,11 +14,11 @@ <methodsynopsis> <type>mixed</type><methodname>date_sunrise</methodname> <methodparam><type>int</type><parameter>timestamp</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>format</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>latitude</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>longitude</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>zenith</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>gmt_offset</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>format</parameter><initializer>SUNFUNCS_RET_STRING</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>latitude</parameter><initializer>date.default_latitude</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>longitude</parameter><initializer>date.default_longitude</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>zenith</parameter><initializer>date.sunrise_zenith</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>gmt_offset</parameter><initializer>0</initializer></methodparam> </methodsynopsis> <para> <function>date_sunrise</function> retourne l'heure de levé du soleil pour un jour http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/date-sunset.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/datetime/functions/date-sunset.xml diff -u phpdoc-fr/reference/datetime/functions/date-sunset.xml:1.12 phpdoc-fr/reference/datetime/functions/date-sunset.xml:1.13 --- phpdoc-fr/reference/datetime/functions/date-sunset.xml:1.12 Sat Apr 5 09:42:37 2008 +++ phpdoc-fr/reference/datetime/functions/date-sunset.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.date-sunset" xmlns="http://docbook.org/ns/docbook"> @@ -16,12 +16,12 @@ <methodsynopsis> <type>mixed</type><methodname>date_sunset</methodname> <methodparam><type>int</type><parameter>timestamp</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>format</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>latitude</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>longitude</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>zenith</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>gmt_offset</parameter></methodparam> - </methodsynopsis> + <methodparam choice="opt"><type>int</type><parameter>format</parameter><initializer>SUNFUNCS_RET_STRING</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>latitude</parameter><initializer>date.default_latitude</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>longitude</parameter><initializer>date.default_longitude</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>zenith</parameter><initializer>date.sunset_zenith</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>gmt_offset</parameter><initializer>0</initializer></methodparam> + </methodsynopsis> <para> <function>date_sunset</function> retourne l'heure de couché du soleil pour un jour (spécifié en tant que <parameter>timestamp</parameter> Unix) et un endroit donnés. http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/getdate.xml?r1=1.17&r2=1.18&diff_format=u Index: phpdoc-fr/reference/datetime/functions/getdate.xml diff -u phpdoc-fr/reference/datetime/functions/getdate.xml:1.17 phpdoc-fr/reference/datetime/functions/getdate.xml:1.18 --- phpdoc-fr/reference/datetime/functions/getdate.xml:1.17 Tue Feb 26 16:01:39 2008 +++ phpdoc-fr/reference/datetime/functions/getdate.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.17 $ --> -<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.18 $ --> +<!-- EN-Revision: 1.15 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.getdate" xmlns="http://docbook.org/ns/docbook"> @@ -13,7 +13,7 @@ &reftitle.description; <methodsynopsis> <type>array</type><methodname>getdate</methodname> - <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam> </methodsynopsis> <para> Retourne un tableau associatif contenant les informations http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/gmmktime.xml?r1=1.19&r2=1.20&diff_format=u Index: phpdoc-fr/reference/datetime/functions/gmmktime.xml diff -u phpdoc-fr/reference/datetime/functions/gmmktime.xml:1.19 phpdoc-fr/reference/datetime/functions/gmmktime.xml:1.20 --- phpdoc-fr/reference/datetime/functions/gmmktime.xml:1.19 Sat Jun 21 20:51:29 2008 +++ phpdoc-fr/reference/datetime/functions/gmmktime.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.19 $ --> -<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.20 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> @@ -14,13 +14,13 @@ &reftitle.description; <methodsynopsis> <type>int</type><methodname>gmmktime</methodname> - <methodparam choice="opt"><type>int</type><parameter>hour</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>minute</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>second</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>month</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>day</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>year</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>is_dst</parameter></methodparam> + <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>is_dst</parameter><initializer>-1</initializer></methodparam> </methodsynopsis> <para> Identique à la fonction <function>mktime</function> excepté le fait que les paramètres http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/gmstrftime.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/datetime/functions/gmstrftime.xml diff -u phpdoc-fr/reference/datetime/functions/gmstrftime.xml:1.15 phpdoc-fr/reference/datetime/functions/gmstrftime.xml:1.16 --- phpdoc-fr/reference/datetime/functions/gmstrftime.xml:1.15 Wed Apr 23 21:10:05 2008 +++ phpdoc-fr/reference/datetime/functions/gmstrftime.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.gmstrftime" xmlns="http://docbook.org/ns/docbook"> @@ -14,7 +14,7 @@ <methodsynopsis> <type>string</type><methodname>gmstrftime</methodname> <methodparam><type>string</type><parameter>format</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam> </methodsynopsis> <para> <function>gmstrftime</function> se comporte exactement comme http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/idate.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/datetime/functions/idate.xml diff -u phpdoc-fr/reference/datetime/functions/idate.xml:1.15 phpdoc-fr/reference/datetime/functions/idate.xml:1.16 --- phpdoc-fr/reference/datetime/functions/idate.xml:1.15 Sun May 11 22:42:30 2008 +++ phpdoc-fr/reference/datetime/functions/idate.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.idate" xmlns="http://docbook.org/ns/docbook"> @@ -14,7 +14,7 @@ <methodsynopsis> <type>int</type><methodname>idate</methodname> <methodparam><type>string</type><parameter>format</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam> </methodsynopsis> <para> <function>idate</function> retourne une nombre formaté avec le http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/localtime.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/datetime/functions/localtime.xml diff -u phpdoc-fr/reference/datetime/functions/localtime.xml:1.15 phpdoc-fr/reference/datetime/functions/localtime.xml:1.16 --- phpdoc-fr/reference/datetime/functions/localtime.xml:1.15 Sun Dec 7 20:13:55 2008 +++ phpdoc-fr/reference/datetime/functions/localtime.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.13 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.localtime" xmlns="http://docbook.org/ns/docbook"> @@ -13,8 +13,8 @@ &reftitle.description; <methodsynopsis> <type>array</type><methodname>localtime</methodname> - <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>is_associative</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>is_associative</parameter><initializer>false</initializer></methodparam> </methodsynopsis> <para> <function>localtime</function> retourne un tableau identique à http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/mktime.xml?r1=1.29&r2=1.30&diff_format=u Index: phpdoc-fr/reference/datetime/functions/mktime.xml diff -u phpdoc-fr/reference/datetime/functions/mktime.xml:1.29 phpdoc-fr/reference/datetime/functions/mktime.xml:1.30 --- phpdoc-fr/reference/datetime/functions/mktime.xml:1.29 Sun Dec 7 20:13:55 2008 +++ phpdoc-fr/reference/datetime/functions/mktime.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.29 $ --> -<!-- EN-Revision: 1.27 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.30 $ --> +<!-- EN-Revision: 1.28 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.mktime" xmlns="http://docbook.org/ns/docbook"> @@ -15,13 +15,13 @@ &reftitle.description; <methodsynopsis> <type>int</type><methodname>mktime</methodname> - <methodparam choice="opt"><type>int</type><parameter>hour</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>minute</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>second</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>month</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>day</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>year</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>is_dst</parameter></methodparam> + <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>is_dst</parameter><initializer>-1</initializer></methodparam> </methodsynopsis> <para> <function>mktime</function> retourne un timestamp UNIX http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/strftime.xml?r1=1.28&r2=1.29&diff_format=u Index: phpdoc-fr/reference/datetime/functions/strftime.xml diff -u phpdoc-fr/reference/datetime/functions/strftime.xml:1.28 phpdoc-fr/reference/datetime/functions/strftime.xml:1.29 --- phpdoc-fr/reference/datetime/functions/strftime.xml:1.28 Sun Dec 7 20:13:55 2008 +++ phpdoc-fr/reference/datetime/functions/strftime.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.28 $ --> -<!-- EN-Revision: 1.25 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.29 $ --> +<!-- EN-Revision: 1.26 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.strftime" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -14,7 +14,7 @@ <methodsynopsis> <type>string</type><methodname>strftime</methodname> <methodparam><type>string</type><parameter>format</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam> </methodsynopsis> <para> Formate une date/heure locale suivant la localisation locale. Les noms http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/timezone-name-from-abbr.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/datetime/functions/timezone-name-from-abbr.xml diff -u phpdoc-fr/reference/datetime/functions/timezone-name-from-abbr.xml:1.3 phpdoc-fr/reference/datetime/functions/timezone-name-from-abbr.xml:1.4 --- phpdoc-fr/reference/datetime/functions/timezone-name-from-abbr.xml:1.3 Sun Jul 22 17:47:27 2007 +++ phpdoc-fr/reference/datetime/functions/timezone-name-from-abbr.xml Fri Jan 9 19:01:04 2009 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.2 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> + <refentry xml:id="function.timezone-name-from-abbr" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>timezone_name_from_abbr</refname> @@ -12,8 +13,8 @@ <methodsynopsis> <type>string</type><methodname>timezone_name_from_abbr</methodname> <methodparam><type>string</type><parameter>abbr</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>gmtOffset</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>isdst</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>gmtOffset</parameter><initializer>-1</initializer></methodparam> + <methodparam choice="opt"><type>int</type><parameter>isdst</parameter><initializer>-1</initializer></methodparam> </methodsynopsis> </refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/date-create.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-fr/reference/datetime/functions/date-create.xml diff -u phpdoc-fr/reference/datetime/functions/date-create.xml:1.6 phpdoc-fr/reference/datetime/functions/date-create.xml:1.7 --- phpdoc-fr/reference/datetime/functions/date-create.xml:1.6 Wed Jan 7 20:50:49 2009 +++ phpdoc-fr/reference/datetime/functions/date-create.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.date-create" xmlns="http://docbook.org/ns/docbook"> @@ -12,8 +12,8 @@ &reftitle.description; <methodsynopsis> <type>DateTime</type><methodname>date_create</methodname> - <methodparam choice="opt"><type>string</type><parameter>time</parameter></methodparam> - <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>time</parameter><initializer>NULL</initializer></methodparam> + <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter><initializer>NULL</initializer></methodparam> </methodsynopsis> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/date-sunrise.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/datetime/functions/date-sunrise.xml diff -u phpdoc-fr/reference/datetime/functions/date-sunrise.xml:1.11 phpdoc-fr/reference/datetime/functions/date-sunrise.xml:1.12 --- phpdoc-fr/reference/datetime/functions/date-sunrise.xml:1.11 Sun Jul 22 17:47:27 2007 +++ phpdoc-fr/reference/datetime/functions/date-sunrise.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.date-sunrise" xmlns="http://docbook.org/ns/docbook"> @@ -14,11 +14,11 @@ <methodsynopsis> <type>mixed</type><methodname>date_sunrise</methodname> <methodparam><type>int</type><parameter>timestamp</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>format</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>latitude</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>longitude</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>zenith</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>gmt_offset</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>format</parameter><initializer>SUNFUNCS_RET_STRING</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>latitude</parameter><initializer>date.default_latitude</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>longitude</parameter><initializer>date.default_longitude</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>zenith</parameter><initializer>date.sunrise_zenith</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>gmt_offset</parameter><initializer>0</initializer></methodparam> </methodsynopsis> <para> <function>date_sunrise</function> retourne l'heure de levé du soleil pour un jour http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/date-sunset.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/datetime/functions/date-sunset.xml diff -u phpdoc-fr/reference/datetime/functions/date-sunset.xml:1.12 phpdoc-fr/reference/datetime/functions/date-sunset.xml:1.13 --- phpdoc-fr/reference/datetime/functions/date-sunset.xml:1.12 Sat Apr 5 09:42:37 2008 +++ phpdoc-fr/reference/datetime/functions/date-sunset.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.date-sunset" xmlns="http://docbook.org/ns/docbook"> @@ -16,12 +16,12 @@ <methodsynopsis> <type>mixed</type><methodname>date_sunset</methodname> <methodparam><type>int</type><parameter>timestamp</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>format</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>latitude</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>longitude</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>zenith</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>gmt_offset</parameter></methodparam> - </methodsynopsis> + <methodparam choice="opt"><type>int</type><parameter>format</parameter><initializer>SUNFUNCS_RET_STRING</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>latitude</parameter><initializer>date.default_latitude</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>longitude</parameter><initializer>date.default_longitude</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>zenith</parameter><initializer>date.sunset_zenith</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>gmt_offset</parameter><initializer>0</initializer></methodparam> + </methodsynopsis> <para> <function>date_sunset</function> retourne l'heure de couché du soleil pour un jour (spécifié en tant que <parameter>timestamp</parameter> Unix) et un endroit donnés. http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/getdate.xml?r1=1.17&r2=1.18&diff_format=u Index: phpdoc-fr/reference/datetime/functions/getdate.xml diff -u phpdoc-fr/reference/datetime/functions/getdate.xml:1.17 phpdoc-fr/reference/datetime/functions/getdate.xml:1.18 --- phpdoc-fr/reference/datetime/functions/getdate.xml:1.17 Tue Feb 26 16:01:39 2008 +++ phpdoc-fr/reference/datetime/functions/getdate.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.17 $ --> -<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.18 $ --> +<!-- EN-Revision: 1.15 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.getdate" xmlns="http://docbook.org/ns/docbook"> @@ -13,7 +13,7 @@ &reftitle.description; <methodsynopsis> <type>array</type><methodname>getdate</methodname> - <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam> </methodsynopsis> <para> Retourne un tableau associatif contenant les informations http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/gmmktime.xml?r1=1.19&r2=1.20&diff_format=u Index: phpdoc-fr/reference/datetime/functions/gmmktime.xml diff -u phpdoc-fr/reference/datetime/functions/gmmktime.xml:1.19 phpdoc-fr/reference/datetime/functions/gmmktime.xml:1.20 --- phpdoc-fr/reference/datetime/functions/gmmktime.xml:1.19 Sat Jun 21 20:51:29 2008 +++ phpdoc-fr/reference/datetime/functions/gmmktime.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.19 $ --> -<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.20 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> @@ -14,13 +14,13 @@ &reftitle.description; <methodsynopsis> <type>int</type><methodname>gmmktime</methodname> - <methodparam choice="opt"><type>int</type><parameter>hour</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>minute</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>second</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>month</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>day</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>year</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>is_dst</parameter></methodparam> + <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>is_dst</parameter><initializer>-1</initializer></methodparam> </methodsynopsis> <para> Identique à la fonction <function>mktime</function> excepté le fait que les paramètres http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/gmstrftime.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/datetime/functions/gmstrftime.xml diff -u phpdoc-fr/reference/datetime/functions/gmstrftime.xml:1.15 phpdoc-fr/reference/datetime/functions/gmstrftime.xml:1.16 --- phpdoc-fr/reference/datetime/functions/gmstrftime.xml:1.15 Wed Apr 23 21:10:05 2008 +++ phpdoc-fr/reference/datetime/functions/gmstrftime.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.gmstrftime" xmlns="http://docbook.org/ns/docbook"> @@ -14,7 +14,7 @@ <methodsynopsis> <type>string</type><methodname>gmstrftime</methodname> <methodparam><type>string</type><parameter>format</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam> </methodsynopsis> <para> <function>gmstrftime</function> se comporte exactement comme http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/idate.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/datetime/functions/idate.xml diff -u phpdoc-fr/reference/datetime/functions/idate.xml:1.15 phpdoc-fr/reference/datetime/functions/idate.xml:1.16 --- phpdoc-fr/reference/datetime/functions/idate.xml:1.15 Sun May 11 22:42:30 2008 +++ phpdoc-fr/reference/datetime/functions/idate.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.idate" xmlns="http://docbook.org/ns/docbook"> @@ -14,7 +14,7 @@ <methodsynopsis> <type>int</type><methodname>idate</methodname> <methodparam><type>string</type><parameter>format</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam> </methodsynopsis> <para> <function>idate</function> retourne une nombre formaté avec le http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/localtime.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/datetime/functions/localtime.xml diff -u phpdoc-fr/reference/datetime/functions/localtime.xml:1.15 phpdoc-fr/reference/datetime/functions/localtime.xml:1.16 --- phpdoc-fr/reference/datetime/functions/localtime.xml:1.15 Sun Dec 7 20:13:55 2008 +++ phpdoc-fr/reference/datetime/functions/localtime.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.13 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.localtime" xmlns="http://docbook.org/ns/docbook"> @@ -13,8 +13,8 @@ &reftitle.description; <methodsynopsis> <type>array</type><methodname>localtime</methodname> - <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>is_associative</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>is_associative</parameter><initializer>false</initializer></methodparam> </methodsynopsis> <para> <function>localtime</function> retourne un tableau identique à http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/mktime.xml?r1=1.29&r2=1.30&diff_format=u Index: phpdoc-fr/reference/datetime/functions/mktime.xml diff -u phpdoc-fr/reference/datetime/functions/mktime.xml:1.29 phpdoc-fr/reference/datetime/functions/mktime.xml:1.30 --- phpdoc-fr/reference/datetime/functions/mktime.xml:1.29 Sun Dec 7 20:13:55 2008 +++ phpdoc-fr/reference/datetime/functions/mktime.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.29 $ --> -<!-- EN-Revision: 1.27 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.30 $ --> +<!-- EN-Revision: 1.28 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.mktime" xmlns="http://docbook.org/ns/docbook"> @@ -15,13 +15,13 @@ &reftitle.description; <methodsynopsis> <type>int</type><methodname>mktime</methodname> - <methodparam choice="opt"><type>int</type><parameter>hour</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>minute</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>second</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>month</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>day</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>year</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>is_dst</parameter></methodparam> + <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>is_dst</parameter><initializer>-1</initializer></methodparam> </methodsynopsis> <para> <function>mktime</function> retourne un timestamp UNIX http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/strftime.xml?r1=1.28&r2=1.29&diff_format=u Index: phpdoc-fr/reference/datetime/functions/strftime.xml diff -u phpdoc-fr/reference/datetime/functions/strftime.xml:1.28 phpdoc-fr/reference/datetime/functions/strftime.xml:1.29 --- phpdoc-fr/reference/datetime/functions/strftime.xml:1.28 Sun Dec 7 20:13:55 2008 +++ phpdoc-fr/reference/datetime/functions/strftime.xml Fri Jan 9 19:01:04 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.28 $ --> -<!-- EN-Revision: 1.25 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.29 $ --> +<!-- EN-Revision: 1.26 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.strftime" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -14,7 +14,7 @@ <methodsynopsis> <type>string</type><methodname>strftime</methodname> <methodparam><type>string</type><parameter>format</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam> </methodsynopsis> <para> Formate une date/heure locale suivant la localisation locale. Les noms http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/datetime/functions/timezone-name-from-abbr.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/datetime/functions/timezone-name-from-abbr.xml diff -u phpdoc-fr/reference/datetime/functions/timezone-name-from-abbr.xml:1.3 phpdoc-fr/reference/datetime/functions/timezone-name-from-abbr.xml:1.4 --- phpdoc-fr/reference/datetime/functions/timezone-name-from-abbr.xml:1.3 Sun Jul 22 17:47:27 2007 +++ phpdoc-fr/reference/datetime/functions/timezone-name-from-abbr.xml Fri Jan 9 19:01:04 2009 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.2 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> + <refentry xml:id="function.timezone-name-from-abbr" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>timezone_name_from_abbr</refname> @@ -12,8 +13,8 @@ <methodsynopsis> <type>string</type><methodname>timezone_name_from_abbr</methodname> <methodparam><type>string</type><parameter>abbr</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>gmtOffset</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>isdst</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>gmtOffset</parameter><initializer>-1</initializer></methodparam> + <methodparam choice="opt"><type>int</type><parameter>isdst</parameter><initializer>-1</initializer></methodparam> </methodsynopsis> </refsect1>