Commit graph

290 commits

Author SHA1 Message Date
Florian Anderiasch
3450dae64b fixed bug #47974
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279087 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-21 00:31:27 +00:00
Damien Seguy
4696a1dbc4 spelling typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278805 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-16 10:22:46 +00:00
Etienne Kneuss
dcdb7186c3 bis
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278748 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-15 12:45:01 +00:00
Etienne Kneuss
7425daeb3c Re-word that better
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278706 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-14 19:14:06 +00:00
Philip Olson
1bcbc4ac54 Mentioned datetime.constants.types as a format string
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278594 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-11 16:42:34 +00:00
Nilgün Belma Bugüner
b97cfb3067 fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@277633 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-23 14:39:22 +00:00
Daniel P. Brown
ef4e5befd0 Fixes an issue mentioned in a user note by (php AT ekips DOT com) on 2009-03-04. Apparently folks want to get the hour and minute from %R, not just the hour and hour again. Duh.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@276769 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-04 16:49:54 +00:00
Daniel P. Brown
0610238469 Completely rewrote and formatted table to better-match date(), added
undocumented parameter format options, fixed typos, added cross-links,
clarified descriptions, etc.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275211 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-05 06:36:46 +00:00
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
Mehdi Achour
ec3f931fa0 Add missing roles and entities in already switched files
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227340 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-16 01:24:43 +00:00
Nuno Lopes
94f320d2db typo in the example output. add also strtotime(+1 week) to the example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@226175 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-01 10:34:56 +00:00
TAKAGI Masahiro
66431b83d4 typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@225235 c90b9560-bf6c-de11-be94-00142212c4b1
2006-12-18 17:12:34 +00:00
Derick Rethans
5101df1515 - Fixed bug #39805: Make these docs less vague.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@224894 c90b9560-bf6c-de11-be94-00142212c4b1
2006-12-12 12:44:42 +00:00
Hannes Magnusson
52a4333c73 date() doesn't use the _local_ time (bug#39137: Misleading description in date() doc)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@224211 c90b9560-bf6c-de11-be94-00142212c4b1
2006-12-02 07:43:35 +00:00
Jean-Sébastien Goupil
8d4f1bd58f fix typo + add return doc
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@223636 c90b9560-bf6c-de11-be94-00142212c4b1
2006-11-20 23:55:08 +00:00
Jakub Vrana
11c442537a Initial documentation of PHP 5.2.0 functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@223339 c90b9560-bf6c-de11-be94-00142212c4b1
2006-11-14 16:46:10 +00:00
Dave Barr
1c7169d34b - WS (#39109).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@221787 c90b9560-bf6c-de11-be94-00142212c4b1
2006-10-15 03:44:38 +00:00
Dave Barr
c67350aea3 - WS (#39109).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@221786 c90b9560-bf6c-de11-be94-00142212c4b1
2006-10-15 03:44:37 +00:00
Hannes Magnusson
346e03a037 Max value of the "Z" format is 50400
# cought by user note, richienz


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@221500 c90b9560-bf6c-de11-be94-00142212c4b1
2006-10-10 12:29:19 +00:00
Philip Olson
6bdc411338 Document the E_STRICT/E_NOTICE time zone errors (as of 5.1.0) using
the changelog and errors roles.  Closes bug #37486


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@219621 c90b9560-bf6c-de11-be94-00142212c4b1
2006-09-08 09:04:09 +00:00
Nuno Lopes
ec03c06d61 DST: daylight saving time. confirmed with my GB English dictionary
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@217988 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-11 17:29:58 +00:00
Jakub Vrana
d51ee86ac7 Typo (bug #38304)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@217448 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-03 09:17:25 +00:00
TAKAGI Masahiro
1dbd58d198 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@216202 c90b9560-bf6c-de11-be94-00142212c4b1
2006-07-12 03:06:19 +00:00
TAKAGI Masahiro
9f26793c1e typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@216138 c90b9560-bf6c-de11-be94-00142212c4b1
2006-07-11 11:44:16 +00:00
TAKAGI Masahiro
e902cd27f0 typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@216136 c90b9560-bf6c-de11-be94-00142212c4b1
2006-07-11 11:32:22 +00:00
Philip Olson
f9cc1ed20c Converted ext.datetime to the new doc style. Some minor content changes were required.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@216120 c90b9560-bf6c-de11-be94-00142212c4b1
2006-07-11 07:05:04 +00:00
Nuno Lopes
4b59e8d1bc link the date.timezone ini option to its page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@214305 c90b9560-bf6c-de11-be94-00142212c4b1
2006-06-06 11:20:24 +00:00
TAKAGI Masahiro
48d3929381 fixed typos (Bug #37325).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@213055 c90b9560-bf6c-de11-be94-00142212c4b1
2006-05-15 12:52:20 +00:00
Derick Rethans
8a6712309a - Added tip to date.timezone setting here.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@212079 c90b9560-bf6c-de11-be94-00142212c4b1
2006-04-27 14:19:29 +00:00
Jakub Vrana
74b62b6eb5 Typo in example output (spotted by bjori@php.net)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@211242 c90b9560-bf6c-de11-be94-00142212c4b1
2006-04-12 12:34:50 +00:00
Matt Li
b156b56f52 Document the fact that <4.4 'next' is +2. Update Date Input Formats URL
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@207864 c90b9560-bf6c-de11-be94-00142212c4b1
2006-02-24 10:30:42 +00:00
Nuno Lopes
1c00847e57 fix #36401: year, month and day can be passed as 0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@207467 c90b9560-bf6c-de11-be94-00142212c4b1
2006-02-18 22:55:35 +00:00
Derick Rethans
30f9b59f74 - Document new P modifier and small version fixes (Patch by Hannes Magnusson).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@206206 c90b9560-bf6c-de11-be94-00142212c4b1
2006-01-31 21:10:31 +00:00
Nuno Lopes
f97e6f3225 sync with latest CVS: now the function validates the parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@203317 c90b9560-bf6c-de11-be94-00142212c4b1
2005-12-20 20:28:19 +00:00
Jakub Vrana
fd530fb007 Date constants are global as of 5.1.1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@201565 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-29 09:25:12 +00:00
Nuno Lopes
87ea796dba update to latest php 5.1.0 RC
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@200727 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-17 23:11:25 +00:00
Jakub Vrana
0ddcc7aa12 Mention REQUEST_TIME (bug #34713)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@198349 c90b9560-bf6c-de11-be94-00142212c4b1
2005-10-13 12:56:29 +00:00
Jakub Vrana
063c60d9c3 Microtime (bug #34755)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@198346 c90b9560-bf6c-de11-be94-00142212c4b1
2005-10-13 11:57:02 +00:00
Nuno Lopes
29add3a65e link to the timezones' appendix
expand the error messages (E_STRICT)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@197929 c90b9560-bf6c-de11-be94-00142212c4b1
2005-10-08 19:35:57 +00:00
Gabor Hojtsy
2bcf287fbe strengthen the point that the suggested two functions should be used instead of date
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@197149 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-29 14:10:39 +00:00
Derek Ford
ed0342ee31 Changed day 7 from Saturday to Sunday
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@195826 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-11 20:31:36 +00:00
Dallas Wang
95243d1d3b timestamp => date, missed two
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194979 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-02 19:26:14 +00:00
Nuno Lopes
5833c91f2c change timestamp->date
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194951 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-02 16:39:25 +00:00
Dallas Wang
b475cd8b50 Fix typos.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194940 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-02 14:39:57 +00:00
Nuno Lopes
5c854de379 add date(N)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194908 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-02 11:19:43 +00:00
Dave Barr
44394dc357 - Typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@193831 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-18 08:09:38 +00:00
Nuno Lopes
014d6b45da complete documentation about changes in version 5.1, like return values, negative timestamps.
add examples to the constant pages, and link it from the date() function


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@193515 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-15 16:01:08 +00:00
Nuno Lopes
513b02edae negative timestamps are now supported (as of PHP 5.1)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@193334 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-13 19:37:21 +00:00
Nuno Lopes
c70441db51 php 5.1 works with negative timestamps on all plataforms
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@193219 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-12 16:07:42 +00:00
Nuno Lopes
a77c2d3d0f add the new date constants.
deprecate is_dst parameter
document the new date() format chars


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@191888 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-30 18:14:12 +00:00
Nuno Lopes
7871a46bbb update the date_default_*() to reflect last CVS commits
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@191821 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-29 18:16:29 +00:00
Nuno Lopes
dbe3099e13 add the new tz_(g|s)et functions and correct the associated ini opt
# note to translators: dont translate these changes yet (and others to come), because they arent stabilized in the sources (yet)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190573 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-12 12:11:58 +00:00
Nuno Lopes
a1be69f5ec upgrade style
document php 5.1 changes, like the return value & date.timezone


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@189121 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-23 19:38:38 +00:00
Jakub Vrana
231b06ec11 Accepts bool
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@189068 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-23 08:25:32 +00:00
Jakub Vrana
43f1c6be9b Accepts bool
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@189059 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-23 08:02:08 +00:00
David Mytton
aea2e3edfa Tweak for bug 33105
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@187784 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-06 17:50:53 +00:00
Matt Li
67963fd976 Fix 33223 and move to new doc style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@187558 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-03 08:46:16 +00:00
Philip Olson
8c1cd0f8fb WS, preparation for the new doc style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185012 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-24 23:50:58 +00:00
Philip Olson
9b0087b327 recategorized (grouped) the character table as per a user comment, added category titles
maybe one day we can add colors to our tables/headings/titles
user comment: val at valcohen dot com


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@184154 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-11 17:34:42 +00:00
Derek Ford
4e10d0a7b4 Adding example and additional note regarding decimal values of day and month titles
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183527 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-03 19:36:42 +00:00
Sean Coates
95467ae9f7 added example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183232 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-31 04:03:19 +00:00
Jakub Vrana
33f6909f6a Returns number (bug #32445)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@182828 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-25 08:29:37 +00:00
Nuno Lopes
b9ac19d5c5 fix #31912: cross reference between (gm)?mktime()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179488 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-10 17:38:14 +00:00
Mehdi Achour
e75e18d831 fix #31374: s/otherwords/other words
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@176225 c90b9560-bf6c-de11-be94-00142212c4b1
2005-01-01 20:58:50 +00:00
Yannick Torres
7674cf96fd add output for examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@175182 c90b9560-bf6c-de11-be94-00142212c4b1
2004-12-20 20:16:05 +00:00
Sean Coates
7269abb7f1 Added GMT
# thanks to Mike Ford


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@174391 c90b9560-bf6c-de11-be94-00142212c4b1
2004-12-09 19:21:57 +00:00
Sean Coates
8ebb7b0eea brief explanation of Unix timestamp
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@174297 c90b9560-bf6c-de11-be94-00142212c4b1
2004-12-08 19:23:08 +00:00
Jakub Vrana
29848057fd Version 5.0.3 will be correct
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@172775 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-16 09:26:09 +00:00
Jakub Vrana
4f5e0deb1d Current time is ignored in PHP 5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@172697 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-15 15:22:58 +00:00
Yannick Torres
829a59a29e use more entities
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@171829 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-01 13:39:15 +00:00
Nuno Lopes
a9cb3f53ad document the new optional parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@171202 c90b9560-bf6c-de11-be94-00142212c4b1
2004-10-24 17:07:11 +00:00
Nuno Lopes
28f2f01af7 document the unparsed key
#thanks to Sterling


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@169878 c90b9560-bf6c-de11-be94-00142212c4b1
2004-10-04 10:07:51 +00:00
Nuno Lopes
b216d51d56 sorry.... removing tabs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@169855 c90b9560-bf6c-de11-be94-00142212c4b1
2004-10-03 16:11:24 +00:00
Nuno Lopes
c77bf3429d document strptime()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@169854 c90b9560-bf6c-de11-be94-00142212c4b1
2004-10-03 15:53:48 +00:00
Nuno Lopes
d436678a25 new func
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@169556 c90b9560-bf6c-de11-be94-00142212c4b1
2004-09-29 15:39:54 +00:00
Nuno Lopes
dce923ef0e general bug fixes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@168617 c90b9560-bf6c-de11-be94-00142212c4b1
2004-09-15 08:34:27 +00:00
Nuno Lopes
0cb21928bb document date_sunset() and date_sunrise() + examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@168589 c90b9560-bf6c-de11-be94-00142212c4b1
2004-09-14 19:30:50 +00:00
Aidan Lister
f7cf7b4d8c Added "z"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@168221 c90b9560-bf6c-de11-be94-00142212c4b1
2004-09-09 08:34:05 +00:00
Friedhelm Betz
1b9a4ece70 protos for date-sunrise/sunset
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@167969 c90b9560-bf6c-de11-be94-00142212c4b1
2004-09-04 12:25:25 +00:00
Dave Barr
fed18ab532 - PHP[45] to PHP [45]. Remove a few RC references from ibase_pconnect().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@167288 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-26 05:40:30 +00:00
Friedhelm Betz
6cf429ccdc clarification of DST enabling
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@166799 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-19 12:06:07 +00:00
Friedhelm Betz
b682098eb4 move para about invalid times with dst.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@166790 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-19 11:05:41 +00:00
Friedhelm Betz
a3f050e977 markup:
no more <literal> with PHP (versions)
replace literal with meaningful tags where appropriate


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165937 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-10 16:30:22 +00:00
Jakub Vrana
dde3c5cae9 Unix epoch starts at GMT midnight
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165640 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-07 14:26:50 +00:00
Jakub Vrana
3acca55330 Enabling DST (bug #22198)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165563 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-06 21:01:23 +00:00
Jakub Vrana
490d4dcf04 is_dst is useless (bug #14391)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165560 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-06 20:12:00 +00:00
Jakub Vrana
01db480ca7 gmmktime uses mktime (bug #22635 again)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165558 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-06 20:05:23 +00:00
Jakub Vrana
d5c3972e13 Revert (1:00 CET is 0:00 GMT)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165557 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-06 19:45:39 +00:00
Jakub Vrana
755f9040b9 Unix epoch starts at 1:00 (bug #22635)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165555 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-06 19:30:47 +00:00
Aidan Lister
00ce37ce6d Split the examples making them easier to read
Changed the name of the function which returns microtime as a float to microtime_float


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164733 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-30 14:50:51 +00:00
Nuno Lopes
bd57b3fc03 fix #25787: wrong yday range
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@162668 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-05 10:23:02 +00:00
Nuno Lopes
1a891a9b98 add an explanation and an example about problems in two digits years
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@162237 c90b9560-bf6c-de11-be94-00142212c4b1
2004-06-28 15:04:02 +00:00
Nuno Lopes
7b089ceca0 initial docs for idate
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@160001 c90b9560-bf6c-de11-be94-00142212c4b1
2004-05-29 14:02:46 +00:00
Friedhelm Betz
c3fffb4b6f doc skeleton
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@157310 c90b9560-bf6c-de11-be94-00142212c4b1
2004-04-27 22:09:18 +00:00
Nuno Lopes
33cbeb91d6 added c parameter
PHP 5 only


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@151257 c90b9560-bf6c-de11-be94-00142212c4b1
2004-02-12 15:20:41 +00:00
Friedhelm Betz
78820e5079 cs, for structure corrected
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@149032 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-17 14:42:13 +00:00
Mehdi Achour
45a0f65851 CS : Function declarations follow the 'one true brace' convention
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@148756 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-15 12:43:50 +00:00
Nuno Lopes
bc61e0549e added example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@148088 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-07 19:43:47 +00:00
Nuno Lopes
632cd61ec8 link fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@148087 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-07 19:26:50 +00:00
Nuno Lopes
e18c16a1e0 fix #26824
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@148077 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-07 15:22:44 +00:00
Friedhelm Betz
37082bdcde bit picky about CS ;-)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147833 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-04 20:53:44 +00:00