-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync untranslated files from reference/date with EN
- Loading branch information
1 parent
d648fe9
commit b46eca4
Showing
2 changed files
with
1,466 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,223 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- EN-Revision: 08757002f22252e774c2d975909a69caddf53ebe Maintainer: grzesiek Status: ready --> | ||
<!-- $Revision$ --> | ||
<appendix xml:id="datetime.constants" xmlns="http://docbook.org/ns/docbook"> | ||
&reftitle.constants; | ||
<para> | ||
Stałe <link linkend="datetimeinterface.constants.types"><literal>DATE_*</literal> | ||
</link> są zdefiniowane i oferują standardowe reprezentacje daty, | ||
które mogą być używane wraz z funkcjami formatu daty (takimi jak | ||
<function>date</function>). | ||
</para> | ||
<para> | ||
Poniższe stałe określają format zwracany przez | ||
funkcje <function>date_sunrise</function> i | ||
<function>date_sunset</function>. | ||
</para> | ||
<variablelist> | ||
<varlistentry xml:id="constant.sunfuncs-ret-timestamp"> | ||
<term> | ||
<constant>SUNFUNCS_RET_TIMESTAMP</constant> | ||
(<type>int</type>) | ||
</term> | ||
<listitem> | ||
<simpara> | ||
Timestamp | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry xml:id="constant.sunfuncs-ret-string"> | ||
<term> | ||
<constant>SUNFUNCS_RET_STRING</constant> | ||
(<type>int</type>) | ||
</term> | ||
<listitem> | ||
<simpara> | ||
Godziny:minuty (przykład: <literal>08:02</literal>) | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry xml:id="constant.sunfuncs-ret-double"> | ||
<term> | ||
<constant>SUNFUNCS_RET_DOUBLE</constant> | ||
(<type>int</type>) | ||
</term> | ||
<listitem> | ||
<simpara> | ||
Godziny jako liczba zmiennoprzecinkowa (przykład <literal>8.75</literal>) | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
</variablelist> | ||
|
||
<variablelist role="constant_list"> | ||
<title>Stałe <constant>DATE_<replaceable>*</replaceable></constant></title> | ||
<varlistentry xml:id="constant.date-atom"> | ||
<term><constant>DATE_ATOM</constant></term> | ||
<listitem> | ||
<simpara> | ||
Atom (przykład: <literal>2005-08-15T15:52:01+00:00</literal>) | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
|
||
<varlistentry xml:id="constant.date-cookie"> | ||
<term><constant>DATE_COOKIE</constant></term> | ||
<listitem> | ||
<simpara> | ||
HTTP Cookies (przykład: <literal>Monday, 15-Aug-2005 15:52:01 UTC</literal>) | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
|
||
<varlistentry xml:id="constant.date-iso8601"> | ||
<term><constant>DATE_ISO8601</constant></term> | ||
<listitem> | ||
<simpara> | ||
ISO-8601 (przykład: <literal>2005-08-15T15:52:01+0000</literal>) | ||
</simpara> | ||
<note> | ||
<simpara> | ||
Format ten nie jest zgodny z ISO-8601, ale pozostawiono go w ten sposób | ||
ze względu na zgodność wsteczną. Zamiast tego należy użyć | ||
<constant>DATE_ISO8601_EXPANDED</constant>, | ||
<constant>DATE_ATOM</constant> w celu zapewnienia zgodności z ISO-8601 | ||
(patrz ISO8601:2004 sekcja 4.3.3 klauzula d). | ||
</simpara> | ||
</note> | ||
</listitem> | ||
</varlistentry> | ||
|
||
<varlistentry xml:id="constant.date-iso8601-expanded"> | ||
<term><constant>DATE_ISO8601_EXPANDED</constant></term> | ||
<listitem> | ||
<simpara> | ||
ISO-8601 Expanded (przykład: <literal>+10191-07-26T08:59:52+01:00</literal>) | ||
</simpara> | ||
<note> | ||
<simpara> | ||
Format ten pozwala na zakresy lat poza normalnym zakresem ISO-8601 | ||
<literal>0000</literal>-<literal>9999</literal> zawsze zawierając znak | ||
Dotyczy to również tego, że część strefy czasowej | ||
(<literal>+01:00</literal>) jest zgodna z ISO-8601. | ||
</simpara> | ||
</note> | ||
</listitem> | ||
</varlistentry> | ||
|
||
<varlistentry xml:id="constant.date-rfc822"> | ||
<term><constant>DATE_RFC822</constant></term> | ||
<listitem> | ||
<simpara> | ||
RFC 822 (przykład: <literal>Mon, 15 Aug 05 15:52:01 +0000</literal>) | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
|
||
<varlistentry xml:id="constant.date-rfc850"> | ||
<term><constant>DATE_RFC850</constant></term> | ||
<listitem> | ||
<simpara> | ||
RFC 850 (przykład: <literal>Monday, 15-Aug-05 15:52:01 UTC</literal>) | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
|
||
<varlistentry xml:id="constant.date-rfc1036"> | ||
<term><constant>DATE_RFC1036</constant></term> | ||
<listitem> | ||
<simpara> | ||
RFC 1036 (przykład: <literal>Mon, 15 Aug 05 15:52:01 +0000</literal>) | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
|
||
<varlistentry xml:id="constant.date-rfc1123"> | ||
<term><constant>DATE_RFC1123</constant></term> | ||
<listitem> | ||
<simpara> | ||
RFC 1123 (przykład: <literal>Mon, 15 Aug 2005 15:52:01 +0000</literal>) | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
|
||
<varlistentry xml:id="constant.date-rfc7231"> | ||
<term><constant>DATE_RFC7231</constant></term> | ||
<listitem> | ||
<simpara> | ||
RFC 7231 (od PHP 7.0.19 i 7.1.5) | ||
(przykład: <literal>Sat, 30 Apr 2016 17:52:13 GMT</literal>) | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
|
||
<varlistentry xml:id="constant.date-rfc2822"> | ||
<term><constant>DATE_RFC2822</constant></term> | ||
<listitem> | ||
<simpara> | ||
RFC 2822 (przykład: <literal>Mon, 15 Aug 2005 15:52:01 +0000</literal>) | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
|
||
<varlistentry xml:id="constant.date-rfc3339"> | ||
<term><constant>DATE_RFC3339</constant></term> | ||
<listitem> | ||
<simpara> | ||
Taki sam jak <constant>DATE_ATOM</constant>. | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
|
||
<varlistentry xml:id="constant.date-rfc3339-extended"> | ||
<term><constant>DATE_RFC3339_EXTENDED</constant></term> | ||
<listitem> | ||
<simpara> | ||
Format RFC 3339 EXTENDED | ||
(przykład: <literal>2005-08-15T15:52:01.000+00:00</literal>) | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
|
||
<varlistentry xml:id="constant.date-rss"> | ||
<term><constant>DATE_RSS</constant></term> | ||
<listitem> | ||
<simpara> | ||
RSS (przykład: <literal>Mon, 15 Aug 2005 15:52:01 +0000</literal>). | ||
&Alias; <constant>DATE_RFC1123</constant>. | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
|
||
<varlistentry xml:id="constant.date-w3c"> | ||
<term><constant>DATE_W3C</constant></term> | ||
<listitem> | ||
<simpara> | ||
Konsorcjum World Wide Web (przykład: <literal>2005-08-15T15:52:01+00:00</literal>). | ||
&Alias; <constant>DATE_RFC3339</constant>. | ||
</simpara> | ||
</listitem> | ||
</varlistentry> | ||
|
||
</variablelist> | ||
</appendix> | ||
<!-- Keep this comment at the end of the file | ||
Local variables: | ||
mode: sgml | ||
sgml-omittag:t | ||
sgml-shorttag:t | ||
sgml-minimize-attributes:nil | ||
sgml-always-quote-attributes:t | ||
sgml-indent-step:1 | ||
sgml-indent-data:t | ||
indent-tabs-mode:nil | ||
sgml-parent-document:nil | ||
sgml-default-dtd-file:"~/.phpdoc/manual.ced" | ||
sgml-exposed-tags:nil | ||
sgml-local-catalogs:nil | ||
sgml-local-ecat-files:nil | ||
End: | ||
vim600: syn=xml fen fdm=syntax fdl=2 si | ||
vim: et tw=78 syn=sgml | ||
vi: ts=1 sw=1 | ||
--> |
Oops, something went wrong.