svn: /phpdoc/de/trunk/reference/datetime/ datetime.xml functions/date.xml functions/gettimeofday.xml functions/localtime.xml functions/microtime.xml functions/strtotime.xml
[email protected] (Christoph Michael Becker)
| Newsgroups | php.doc.de |
|---|---|
| Message-ID | <[email protected]> |
cmb Thu, 01 Feb 2018 14:08:18 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=344149
Log:
Sync with EN
Changed paths:
U phpdoc/de/trunk/reference/datetime/datetime.xml
U phpdoc/de/trunk/reference/datetime/functions/date.xml
U phpdoc/de/trunk/reference/datetime/functions/gettimeofday.xml
U phpdoc/de/trunk/reference/datetime/functions/localtime.xml
U phpdoc/de/trunk/reference/datetime/functions/microtime.xml
U phpdoc/de/trunk/reference/datetime/functions/strtotime.xml
svn-diffs-344149.txt
(text/x-diff, 9.1 KB)
Modified: phpdoc/de/trunk/reference/datetime/datetime.xml
===================================================================
--- phpdoc/de/trunk/reference/datetime/datetime.xml 2018-02-01 13:47:02 UTC (rev 344148)
+++ phpdoc/de/trunk/reference/datetime/datetime.xml 2018-02-01 14:08:18 UTC (rev 344149)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 337646 Maintainer: cmb Status: ready -->
+<!-- EN-Revision: 343431 Maintainer: cmb Status: ready -->
<!-- Reviewed: no -->
<phpdoc:classref xml:id="class.datetime" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
@@ -94,6 +94,12 @@
<fieldsynopsis>
<modifier>const</modifier>
<type>string</type>
+ <varname linkend="datetime.constants.rfc3339_extended">DateTime::RFC3339_EXTENDED</varname>
+ <initializer>"Y-m-d\TH:i:s.vP"</initializer>
+ </fieldsynopsis>
+ <fieldsynopsis>
+ <modifier>const</modifier>
+ <type>string</type>
<varname linkend="datetime.constants.rss">DateTime::RSS</varname>
<initializer>"D, d M Y H:i:s O"</initializer>
</fieldsynopsis>
@@ -226,6 +232,16 @@
</listitem>
</varlistentry>
+ <varlistentry xml:id="datetime.constants.rfc3339_extended">
+ <term><constant>DateTime::RFC3339_EXTENDED</constant></term>
+ <term><constant>DATE_RFC3339_EXTENDED</constant></term>
+ <listitem>
+ <simpara>
+ RFC 3339 EXTENDED Format (seit PHP 7.0.0) (Beispiel: 2005-08-15T15:52:01.000+00:00)
+ </simpara>
+ </listitem>
+ </varlistentry>
+
<varlistentry xml:id="datetime.constants.rss">
<term><constant>DateTime::RSS</constant></term>
<term><constant>DATE_RSS</constant></term>
@@ -264,6 +280,16 @@
</thead>
<tbody>
<row>
+ <entry>7.0.0</entry>
+ <entry>
+ Die Konstanten <link
+ linkend="datetime.constants.rfc3339_extended">DATE_RFC3339_EXTENDED</link>
+ und <link
+ linkend="datetime.constants.rfc3339_extended">DateTime::RFC3339_EXTENDED</link>
+ wurden hinzugefügt.
+ </entry>
+ </row>
+ <row>
<entry>5.5.0</entry>
<entry>
Die Klasse implementiert nun <classname>DateTimeInterface</classname>.
Modified: phpdoc/de/trunk/reference/datetime/functions/date.xml
===================================================================
--- phpdoc/de/trunk/reference/datetime/functions/date.xml 2018-02-01 13:47:02 UTC (rev 344148)
+++ phpdoc/de/trunk/reference/datetime/functions/date.xml 2018-02-01 14:08:18 UTC (rev 344149)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 336982 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 341282 Maintainer: simp Status: ready -->
<!-- Credits: sammywg -->
<refentry xml:id="function.date" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -108,7 +108,7 @@
</row>
<row>
<entry><literal>W</literal></entry>
- <entry>ISO-8601 Wochennummer des Jahres, die Woche beginnt am Montag (hinzugefügt in PHP 4.1.0)</entry>
+ <entry>ISO-8601 Wochennummer des Jahres, die Woche beginnt am Montag</entry>
<entry>Beispiel: <literal>42</literal> (die 42. Woche im Jahr)</entry>
</row>
<row>
@@ -153,7 +153,7 @@
</row>
<row>
<entry><literal>o</literal></entry>
- <entry>Jahreszahl gemäß ISO-8601. Dies ergibt den gleichen Wert
+ <entry>Jahreszahl der Kalenderwoche gemäß ISO-8601. Dies ergibt den gleichen Wert
wie <literal>Y</literal>, außer wenn die ISO-Kalenderwoche
(<literal>W</literal>) zum vorhergehenden oder nächsten Jahr
gehört, wobei dann jenes Jahr verwendet wird (in PHP 5.1.0
@@ -234,7 +234,16 @@
Mikrosekunden erzeugt wurde.
</entry>
<entry>Beispiel: <literal>654321</literal></entry>
- </row> <row>
+ </row>
+ <row>
+ <entry><literal>v</literal></entry>
+ <entry>
+ Millisekunden (hinzugefügt in PHP 7.0.0). Es gelten die selben
+ Anmerkungen wie für <literal>u</literal>.
+ </entry>
+ <entry>Example: <literal>654</literal></entry>
+ </row>
+ <row>
<entry align="center"><emphasis>Zeitzone</emphasis></entry>
<entry>---</entry>
<entry>---</entry>
Modified: phpdoc/de/trunk/reference/datetime/functions/gettimeofday.xml
===================================================================
--- phpdoc/de/trunk/reference/datetime/functions/gettimeofday.xml 2018-02-01 13:47:02 UTC (rev 344148)
+++ phpdoc/de/trunk/reference/datetime/functions/gettimeofday.xml 2018-02-01 14:08:18 UTC (rev 344149)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 311166 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: sammywg Status: ready -->
<refentry xml:id="function.gettimeofday" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>gettimeofday</methodname>
- <methodparam choice="opt"><type>bool</type><parameter>return_float</parameter><initializer>false</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>return_float</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
Es handelt sich um eine Schnittstelle zum Systemaufruf von gettimeofday(2).
Modified: phpdoc/de/trunk/reference/datetime/functions/localtime.xml
===================================================================
--- phpdoc/de/trunk/reference/datetime/functions/localtime.xml 2018-02-01 13:47:02 UTC (rev 344148)
+++ phpdoc/de/trunk/reference/datetime/functions/localtime.xml 2018-02-01 14:08:18 UTC (rev 344149)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 311354 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: sammywg Status: ready -->
<refentry xml:id="function.localtime" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -13,7 +13,7 @@
<methodsynopsis>
<type>array</type><methodname>localtime</methodname>
<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>
+ <methodparam choice="opt"><type>bool</type><parameter>is_associative</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
Die <function>localtime</function>-Funktion gibt ein Array zurück, welches
Modified: phpdoc/de/trunk/reference/datetime/functions/microtime.xml
===================================================================
--- phpdoc/de/trunk/reference/datetime/functions/microtime.xml 2018-02-01 13:47:02 UTC (rev 344148)
+++ phpdoc/de/trunk/reference/datetime/functions/microtime.xml 2018-02-01 14:08:18 UTC (rev 344149)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 334621 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: sammywg Status: ready -->
<refentry xml:id="function.microtime" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>microtime</methodname>
- <methodparam choice="opt"><type>bool</type><parameter>get_as_float</parameter><initializer>false</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>get_as_float</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
<function>microtime</function> gibt den aktuellen Unix-Timestamp mit
Modified: phpdoc/de/trunk/reference/datetime/functions/strtotime.xml
===================================================================
--- phpdoc/de/trunk/reference/datetime/functions/strtotime.xml 2018-02-01 13:47:02 UTC (rev 344148)
+++ phpdoc/de/trunk/reference/datetime/functions/strtotime.xml 2018-02-01 14:08:18 UTC (rev 344149)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 334621 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 337698 Maintainer: sammywg Status: ready -->
<refentry xml:id="function.strtotime" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -228,6 +228,9 @@
<literal>m/d/y</literal> angenommen; wird stattdessen ein Minus
(<literal>-</literal>) oder ein Punkt (<literal>.</literal>) genutzt,
wird das Europäische Format <literal>d-m-y</literal> angenommen.
+ Wird das Jahr allerdings in einem zweistelligen Format angegeben und das
+ Trennzeichen ist ein Minus (<literal>-</literal>), dann wird das Datum als
+ <literal>y-m-d</literal> geparst.
</para>
<para>
Um Mehrdeutigkeiten zu vermeiden sollten am besten ISO 8601 Daten