Re: [PHP-DOC] cvs: phpdoc /en/reference/datetime constants.xml reference.xml /en/reference/datetime/functions date.xml gmmktime.xml mktime.xml strtotime.xml

2005-08-01 Thread Derick Rethans

>  The following constants are defined since PHP 5.1.0 and they offer standard
>  date representations, which can be used along with the date format functions
>  (like date or strftime).

That is not true, they can not be used with the strftime function as 
that one wants % in front of modifiers.

regards,
Derick


-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org


[PHP-DOC] cvs: phpdoc /en/reference/datetime constants.xml reference.xml /en/reference/datetime/functions date.xml gmmktime.xml mktime.xml strtotime.xml

2005-07-30 Thread Nuno Lopes
nlopess Sat Jul 30 14:14:12 2005 EDT

  Added files: 
/phpdoc/en/reference/datetime   constants.xml 

  Modified files:  
/phpdoc/en/reference/datetime   reference.xml 
/phpdoc/en/reference/datetime/functions date.xml gmmktime.xml 
mktime.xml strtotime.xml 
  Log:
  add the new date constants.
  deprecate is_dst parameter
  document the new date() format chars
  http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/reference.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/datetime/reference.xml
diff -u phpdoc/en/reference/datetime/reference.xml:1.8 
phpdoc/en/reference/datetime/reference.xml:1.9
--- phpdoc/en/reference/datetime/reference.xml:1.8  Wed Jun 22 15:33:34 2005
+++ phpdoc/en/reference/datetime/reference.xml  Sat Jul 30 14:14:09 2005
@@ -1,5 +1,5 @@
 
-
+
  
   Date and Time Functions
   Date/Time
@@ -47,10 +47,7 @@
 &no.resource;


-   
-&reftitle.constants;
-&no.constants;
-   
+   &reference.datetime.constants;

   
 
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/date.xml?r1=1.18&r2=1.19&ty=u
Index: phpdoc/en/reference/datetime/functions/date.xml
diff -u phpdoc/en/reference/datetime/functions/date.xml:1.18 
phpdoc/en/reference/datetime/functions/date.xml:1.19
--- phpdoc/en/reference/datetime/functions/date.xml:1.18Sun Apr 24 
19:50:57 2005
+++ phpdoc/en/reference/datetime/functions/date.xml Sat Jul 30 14:14:11 2005
@@ -1,5 +1,5 @@
 
-
+
 
 
  
@@ -144,6 +144,14 @@
1 if it is a leap year, 0 
otherwise.
   
   
+   o
+   ISO-8601 year number. This has the same value as
+Y, except that if the ISO week number
+(W) belongs to the previous or next year, that year
+is used instead. (added in PHP 5.1.0)
+   Examples: 1999 or 
2003
+  
+  
Y
A full numeric representation of a year, 4 digits
Examples: 1999 or 
2003
@@ -209,6 +217,11 @@
---
   
   
+   e
+   Timezone identifier (added in PHP 5.1.0)
+   Examples: UTC, GMT, 
Atlantic/Azores
+  
+  
I (capital i)
Whether or not the date is in daylights savings time
1 if Daylight Savings Time, 
0 otherwise.
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/gmmktime.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/datetime/functions/gmmktime.xml
diff -u phpdoc/en/reference/datetime/functions/gmmktime.xml:1.8 
phpdoc/en/reference/datetime/functions/gmmktime.xml:1.9
--- phpdoc/en/reference/datetime/functions/gmmktime.xml:1.8 Sun Apr 24 
19:50:58 2005
+++ phpdoc/en/reference/datetime/functions/gmmktime.xml Sat Jul 30 14:14:11 2005
@@ -1,5 +1,5 @@
 
-
+
 
 
  
@@ -31,6 +31,13 @@
from right to left, with any omitted arguments being set to the
current corresponding GMT value.
   
+  
+   
+As of PHP 5.1.0, the is_dst parameter became
+deprecated. As a result, the new timezone handling features should be used
+instead.
+   
+  
   

 
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/mktime.xml?r1=1.17&r2=1.18&ty=u
Index: phpdoc/en/reference/datetime/functions/mktime.xml
diff -u phpdoc/en/reference/datetime/functions/mktime.xml:1.17 
phpdoc/en/reference/datetime/functions/mktime.xml:1.18
--- phpdoc/en/reference/datetime/functions/mktime.xml:1.17  Fri Jun  3 
04:46:16 2005
+++ phpdoc/en/reference/datetime/functions/mktime.xml   Sat Jul 30 14:14:11 2005
@@ -1,5 +1,5 @@
 
-
+
 
 
  
@@ -81,10 +81,11 @@
  
   
The number of the year, may be a two or four digit value,
-   with values between 0-69 mapping to 2000-2069 and 70-99 to
-   1970-1999 (on systems where time_t is a 32bit signed integer, as
+   with values between 0-69 mapping to 2000-2069 and 70-100 to
+   1970-2000. On systems where time_t is a 32bit signed integer, as
most common today, the valid range for year 
-   is somewhere between 1901 and 2038).
+   is somewhere between 1901 and 2038, although this limitation is
+   overcome as of PHP 5.1.0.
   
  
 
@@ -103,6 +104,12 @@
Some systems (e.g. Solaris 8) enable DST at midnight so time 0:30 of 
the day when DST 
is enabled is evaluated as 23:30 of the previous day.
   
+  
+   
+As of PHP 5.1.0, this parameter became deprecated. As a result, the
+new timezone handling features should be used instead.
+   
+  
  
 

@@ -136,6 +143,10 @@
3.0.10
Added is_dst parameter
   
+  
+   5.1.0
+   the is_dst parameter became 
deprecated
+  
  
 

http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/strtotime.xml?r1=1.14&r2=1.15&ty=u
Index: phpdoc/en/reference/datetime/functions/strtotime.xml
diff -u phpdoc/en/reference/datetime/functions/strtotime.xml:1.14 
phpdoc/en/reference/datetime/functions/strtoti