cvs: phpdoc-ro /reference/datetime/functions gmstrftime.xml
| From: | Simion Onea | Date: | Sat, 24 May 2008 09:22:32 +0000 |
| Subject: | cvs: phpdoc-ro /reference/datetime/functions gmstrftime.xml | ||
| Groups: | php.doc.ro | ||
| Request: | Send a blank email to doc-ro+get-449@lists.php.net to get a copy of this message | ||
simionea Sat May 24 09:22:32 2008 UTC
Modified files:
/phpdoc-ro/reference/datetime/functions gmstrftime.xml
Log:
Updated the file.
http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/datetime/functions/gmstrftime.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-ro/reference/datetime/functions/gmstrftime.xml
diff -u phpdoc-ro/reference/datetime/functions/gmstrftime.xml:1.3
phpdoc-ro/reference/datetime/functions/gmstrftime.xml:1.4
--- phpdoc-ro/reference/datetime/functions/gmstrftime.xml:1.3 Tue Sep 18 13:46:29 2007
+++ phpdoc-ro/reference/datetime/functions/gmstrftime.xml Sat May 24 09:22:31 2008
@@ -1,37 +1,84 @@
-<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.0 Maintainer: adiju Status: outdated -->
-<!-- splitted from ./ro/functions/datetime.xml, last change in rev 1.1 -->
-<!-- last change to 'gmstrftime' in en/ tree in rev 1.2 -->
- <refentry xml:id="function.gmstrftime" xmlns="http://docbook.org/ns/docbook">
- <refnamediv>
- <refname>gmstrftime</refname>
- <refpurpose>Formateazã data/timpul GMT/CUT conform cu setãrile
locale</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Descriere</title>
- <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>
- </methodsynopsis>
- <para>
- Se comportã la fel ca <function>strftime</function> exceptând faptul cã timpul
returnat este Greenwich Mean Time (GMT). De exemplu, când este rulat în Timpul Standard Estic (GMT
-0500), prima linie de mai jos va afiºa "Dec 31 1998 20:00:00", în timp ce a doua va
afiºa "Jan 01 1999 01:00:00".
- <example>
- <title>Exemplu <function>gmstrftime</function></title>
- <programlisting role="php">
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.11 Maintainer: simionea Status: translated -->
+<!-- CREDITS: adiju -->
+<refentry xml:id="function.gmstrftime" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>gmstrftime</refname>
+ <refpurpose>FormateazÄ o datÄ/orÄ GMT/UTC în conformitate cu setÄrile
locale</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <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>
+ </methodsynopsis>
+ <para>
+ Se comportÄ Ã®n acelaÅi mod ca Åi <function>strftime</function> cu
excepţia
+ cÄ ora întoarsÄ este Greenwich Mean Time (GMT) - Ora Medie Greenwich. Spre
+ exemplu, când se ruleazÄ Ã®n Eastern Standard Time (GMT -0500), prima linie
+ de mai jos afiÅeazÄ "Dec 31 1998 20:00:00", în timp ce a doua afiÅeazÄ
+ "Jan 01 1999 01:00:00".
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>format</parameter></term>
+ <listitem>
+ <para>
+ Vezi descrierea în <function>strftime</function>.
+ </para>
+ </listitem>
+ </varlistentry>
+ &date.timestamp.description;
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Ãntoarce un string formatat în conformitate cu string-ul format, utilizând
+ <parameter>timestamp</parameter>-ul dat sau ora localÄ curentÄ, dacÄ nu
este
+ dat un timestamp. Denumirile lunilor Åi zilelor sÄptÄmânii Åi alte string-uri
+ ce depind de limbÄ respectÄ setÄrile locale stabilite cu ajutorul
+ <function>setlocale</function>.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>Exemplu <function>gmstrftime</function></title>
+ <programlisting role="php">
<![CDATA[
-setlocale ('LC_TIME', 'en_US');
-echo strftime ("%b %d %Y %H:%M:%S", mktime (20,0,0,12,31,98))."\n";
-echo gmstrftime ("%b %d %Y %H:%M:%S", mktime (20,0,0,12,31,98))."\n";
+<?php
+setlocale(LC_TIME, 'en_US');
+echo strftime("%b %d %Y %H:%M:%S", mktime(20, 0, 0, 12, 31, 98)) . "\n";
+echo gmstrftime("%b %d %Y %H:%M:%S", mktime(20, 0, 0, 12, 31, 98)) . "\n";
+?>
]]>
- </programlisting>
- </example>
- </para>
- <para>
- Vezi, de asemenea, <function>strftime</function>.
- </para>
- </refsect1>
- </refentry>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>strftime</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables: