Commit graph

182 commits

Author SHA1 Message Date
Daniel P. Brown
329b02484e Updates the example with several bugfixes, reverses typo by joey, includes a patch by thiago. Remember, 'm' is 'month', 'i' is 'minute'. ;-P
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@274652 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-26 20:42:35 +00:00
Jakub Vrana
0ef9a59224 Undocument PHP 3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273643 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-16 15:36:27 +00:00
Jakub Vrana
b5488d0f79 1st parameter defaults to now
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273344 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-12 10:48:43 +00:00
Joey Smith
902d2d6516 Make the comments and the code match each other a bit more closely
Pointed out by daleharvey!daleharv@li3-65.members.linode.com in ##PHP@Freenode


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273328 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-12 07:02:19 +00:00
Jakub Vrana
a148416db3 Use ini_get() in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273227 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-10 09:11:11 +00:00
Jakub Vrana
4d50cfcce4 Initializers - part 1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273174 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-09 17:08:52 +00:00
Jakub Vrana
3f6baf5f2e Document datetime classes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@272892 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-06 14:55:00 +00:00
Derick Rethans
a876269e6a - We don't implement the GNU formats, and never have properly.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271772 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-23 14:05:56 +00:00
Richard Quadling
e0d1cb8cd8 Revert
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270534 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-04 13:52:29 +00:00
Richard Quadling
68638642f5 mktime accepts a year of 100-110 as 2000-2010.
Bug#46732


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270533 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-04 13:37:31 +00:00
Daniel P. Brown
80ca2b1bd5 Documents %P as well as %p.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270057 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-28 23:41:31 +00:00
Daniel P. Brown
58f9dc98c4 Addresses Bug #46712.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270054 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-28 23:14:27 +00:00
Jakub Vrana
f60082dcb0 Fix protos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268271 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-04 13:27:54 +00:00
Ross Masters
c5967e0ec6 Fix for example titles - Object Oriented and Procedural should have been switched.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268187 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-03 14:40:37 +00:00
Ross Masters
cd04e752b9 Added entities for procedural-only object parameters for DateTime and DateTimeZone.
&date.datetime.description:  date_* (except date_default_timezone_*, date_create)
    &date.datetimezone.description: timezone_*

Added examples for:
    reference\datetime\functions
        date-create.xml
        date-date-set.xml
        date-default-timezone-get.xml
        date-default-timezone-set.xml
        date-format.xml
        date-isodate-set.xml
        date-offset-get.xml
        date-time-set.xml
        date-timezone-get.xml
        date-timezone-set.xml

Added descriptions for:
    reference\datetime\functions
        date-create.xml
        date-date-set.xml
        date-isodate-set.xml
        date-modify.xml
        date-time-set.xml


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268162 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-02 22:11:33 +00:00
Daniel P. Brown
467d082198 Fixed typo - 'internal' > 'interval'.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@267963 c90b9560-bf6c-de11-be94-00142212c4b1
2008-10-29 13:33:22 +00:00
Kalle Sommer Nielsen
730116ccfd Fixes #44286 (date('u'): milli or microseconds?) -- Patch by Ross Masters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265563 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-27 18:08:10 +00:00
Kalle Sommer Nielsen
20a326f84d * Added caution note that ticks are deprecated as of 5.3
* Added note in changelog on the following functions that they will throw an E_DEPRECATED notice as of 5.3:
  * mktime() -- is_dst parameter is deprecated
  * register_tick_function()
  * mysql_db_query()
  * mysql_escape_string()
  * setlocale() -- Behavior of passing strings insted of one of the LC_* constants is deprecated


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265410 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-24 07:26:26 +00:00
Simion Onea
24793c40b6 Corrected two typos (than -> then, is -> returns).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@264438 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-08 05:58:36 +00:00
Jakub Vrana
bfe00006e3 Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@264004 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-01 11:52:59 +00:00
Hannes Magnusson
80dcfecb7e Fix markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@263798 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-29 17:58:29 +00:00
Hannes Magnusson
787acc979a Do not use the same parameter name twice
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@263797 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-29 17:55:51 +00:00
Hannes Magnusson
c938a6c977 Fix CS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@263796 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-29 17:54:56 +00:00
Hannes Magnusson
30a75a073f Remove useless note
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@263795 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-29 17:52:41 +00:00
Richard Quadling
85f148bd0a date-add and date-sub (with thanks to Andy J Belamy)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@263784 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-29 16:15:27 +00:00
TAKAGI Masahiro
82d2a91cc5 fix build.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@262913 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-18 06:03:44 +00:00
Daniel P. Brown
7d550ae084 Rewrote the description section, correcting grammar, rewording the structure, and expanding a bit on the actions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@262908 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-18 00:46:20 +00:00
Derick Rethans
343f0775bd - Mention that this is OS specific (related to bug #45498).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@262550 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-13 10:51:34 +00:00
Kalle Sommer Nielsen
45a1295aad strptime, dio_fcntl, dio_tcsetattr, dio_truncate, stream_socket_pair - Moved &note.no-windows; into a note refsec
lchgrp, lchown - Added not implemented on Windows note


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@260402 c90b9560-bf6c-de11-be94-00142212c4b1
2008-05-28 04:42:07 +00:00
Derick Rethans
38f1ad94a3 - Integrate user note 53629.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@259544 c90b9560-bf6c-de11-be94-00142212c4b1
2008-05-11 15:22:04 +00:00
Matt Wilmas
2d234c1518 Fixed gmstrftime spelling (bug #44968)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@259532 c90b9560-bf6c-de11-be94-00142212c4b1
2008-05-11 10:38:31 +00:00
Mehdi Achour
e72eeb989f Integrate user notes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249433 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-30 15:20:46 +00:00
Felipe Pena
6d6d06eabd Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249103 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-27 01:24:26 +00:00
Felipe Pena
9ce693f96f Added information about return value in case the date format has an error (#42640)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247813 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-09 00:23:22 +00:00
Richard Quadling
a278f3a9d3 Example altered to not show leading zero.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247571 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-04 09:39:57 +00:00
Jakub Vrana
d0ac96658d Maximum length of format (bug #42713)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@246620 c90b9560-bf6c-de11-be94-00142212c4b1
2007-11-21 15:49:07 +00:00
Jakub Vrana
d4d4b3020b Rephrase (bug #42786)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@246615 c90b9560-bf6c-de11-be94-00142212c4b1
2007-11-21 15:21:40 +00:00
Richard Quadling
a1496cecfe WS - Removal of TABs.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@245390 c90b9560-bf6c-de11-be94-00142212c4b1
2007-11-01 16:40:42 +00:00
Hannes Magnusson
275a8284ce Fixed bug#42921 (date('u') doesn't work)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244140 c90b9560-bf6c-de11-be94-00142212c4b1
2007-10-13 13:06:37 +00:00
Jakub Vrana
95dd88011f Year is still limited (bug #37281)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241632 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-20 10:14:07 +00:00
Richard Quadling
a9e7ec5964 Month => Week
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@239184 c90b9560-bf6c-de11-be94-00142212c4b1
2007-07-05 12:59:25 +00:00
Hannes Magnusson
c030e2adf7 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Hannes Magnusson
94dd9f1ef2 New date() format character
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@236145 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-22 17:57:35 +00:00
Maciek Sokolewicz
83a2574e84 fix typo in section about 2-digit interpretation [again]
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@233556 c90b9560-bf6c-de11-be94-00142212c4b1
2007-04-10 12:53:24 +00:00
Maciek Sokolewicz
67f2db5cdf fix typo in section about 2-digit interpretation (usernote)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@233476 c90b9560-bf6c-de11-be94-00142212c4b1
2007-04-09 13:24:35 +00:00
Antony Dovgal
3055be43fd typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@232639 c90b9560-bf6c-de11-be94-00142212c4b1
2007-03-26 08:13:04 +00:00
Mehdi Achour
badae55071 Add missing cross links
# and more soon


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@230541 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-23 00:47:06 +00:00
Philip Olson
c2e9e5a27e According to our guidelines:
- Use PHP x.x.0 instead of PHP x.x, or use PHP x.x.x where appropriate
- Use PHP x instead of PHPx


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229829 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-15 08:12:20 +00:00
Nuno Lopes
3d7a5792bc escape literal chars in date functions (user note)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228917 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-03 22:35:18 +00:00
Nuno Lopes
1324297906 fix description of date(T)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227535 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-18 19:08:12 +00:00