Commit graph

340 commits

Author SHA1 Message Date
Peter Cowburn
1bbbd77ee0 <function> to <methodname> tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305221 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-09 11:01:09 +00:00
Adam Harvey
ef151ba6c1 Removed the reference to "US English" in the strtotime() description, since
that's not true for all delimiters, and added an explanatory note summarising
the Date and Time Formats grammar and how it pertains to m/d/y and d-m-y, along
with a recommendation to use ISO 8601 or DateTime::createFromFormat() where
possible.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305220 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-09 10:53:51 +00:00
Peter Cowburn
422eb63281 CS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304888 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-25 19:41:39 +00:00
Peter Cowburn
a912865116 Typos and grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304887 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-25 19:38:17 +00:00
Kalle Sommer Nielsen
17ece6f8ff Fixed bug #45847 strftime() (returns an empty string when using the %e conversion specifier)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304637 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-23 05:59:00 +00:00
Kalle Sommer Nielsen
138a9e2414 Fixed bug #51538 (strptime() buggy prior PHP 5.2.0)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304520 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 00:33:12 +00:00
Joey Smith
9412bf3cd4 Adds a "seealso" to date-parse-from-format
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302973 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-01 11:29:23 +00:00
Adam Harvey
0b2f8a77ab Fix doc bug #52642 (You have mixed up two values in one of the tables) by
adding a note to the strptime() manual page explaining how OS dependent it is,
suggesting date_parse_from_format() as an alternative, and refining the
parameter descriptions.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302528 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-20 05:45:06 +00:00
Adam Harvey
49d9c2bfe7 Fix doc bug #52363 (timezone_name_from_abbr problem) by adding more explanation
of the $isdst parameter.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301391 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-19 10:13:31 +00:00
Daniel Egeberg
f2f4e07d9d Fixed PHP bug #51976 (date_default_timezone_get still mentions TZ use)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300203 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-05 10:37:33 +00:00
Daniel Convissor
2886be7bf6 Use new date format parameter entity. Move microsecond change log info from parameter to change log.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299419 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-17 01:35:47 +00:00
Daniel Egeberg
eb2c1937c6 Fixed PHP bug #36474 (strtotime: Document internal Date Input Format).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299403 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-15 20:54:14 +00:00
Philip Olson
792ff31a8f Fixed build. Patch by Yawk.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298831 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-01 04:44:38 +00:00
Daniel Convissor
013b8d588c Make datetimezone_open an alias to construct, just like the rest of the functions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298828 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-01 04:17:40 +00:00
Daniel Convissor
03ab3321ba Make date_create an alias to construct, just like the rest of the date time functions; this function is now fully documented on construct page.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298745 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-29 01:35:35 +00:00
Daniel Egeberg
2fd3f0c96d Converted remaining files to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297078 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 16:25:51 +00:00
Daniel Egeberg
92ac19c964 Reverted r297058
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297077 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 16:13:03 +00:00
Richard Quadling
41744b84ad Converted to UTF-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297058 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 09:53:08 +00:00
Daniel Egeberg
96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Daniel Egeberg
257702d81a Corrected mistake from r295237
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295239 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-18 14:35:10 +00:00
Daniel Egeberg
5158fde6aa Fixed bug #51081. Documented that '24:00' is unsupported prior to 5.3.0.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295237 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-18 14:25:56 +00:00
Jakub Vrana
79bb907445 See also
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291984 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-11 12:09:23 +00:00
Jakub Vrana
0a2414f079 See also
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291981 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-11 11:06:10 +00:00
Jakub Vrana
201dc3748c Prefer <initializer> before "defaults to"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291313 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 14:49:47 +00:00
Richard Quadling
74da59644d Remove BOM
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290987 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-19 13:13:35 +00:00
Jakub Vrana
2dacbe344c Move note
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290984 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-19 12:11:21 +00:00
Richard Quadling
d8bf844239 Document different errors and output for Windows when supplying unknown specifiers. Fix #50217
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290910 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-18 13:21:28 +00:00
Richard Quadling
c150cca7c1 WS : Tabs -> spaces.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290909 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-18 12:50:33 +00:00
Jakub Vrana
3ce9368539 Utilize &return.falseforfailure;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290704 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-13 21:37:00 +00:00
Richard Quadling
f658721332 Use &return.falseforfailure; entity.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290410 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-09 10:26:08 +00:00
Philip Olson
b0a5fa7814 fixed build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290160 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-03 02:15:21 +00:00
Richard Quadling
e6a4e1a0ce Using entity for external link to Wikipedia's Leap Second article.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290142 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-02 10:50:32 +00:00
Richard Quadling
985575ffe7 Explain why there could be 62 seconds in a minute - leap seconds. Fix #50026
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290022 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-28 09:35:54 +00:00
Torben Wilson
af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Torben Wilson
bdd9deda77 Moved the version-specific change notes into the changelog section.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288347 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-15 06:52:03 +00:00
Torben Wilson
7be49951cf Documented the old incorrect behaviour that requesting a given
occurrence of a weekday in a month when that weekend occurred on the
first day of the month would add one week to the returned timestamp.

Addresses bug #46932

Not sure this should be a warning. Seems more appropriate in the
changelog section. I'm just putting it here now to be consistent with
the existing function reference.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288346 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-15 06:28:00 +00:00
Torben Wilson
bbced252b5 Type fixes. It's a Mind Bomb.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288299 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-13 20:07:37 +00:00
Daniel P. Brown
2633a9f0c1 Fixes incorrect ISO standard reference.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288158 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-08 13:56:35 +00:00
Peter Cowburn
1de8135340 Fixes #47084 Document mktime() E_STRICT with no arguments
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286620 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-01 12:01:14 +00:00
Derick Rethans
96dfc3728a - Microseconds really... sorry for that.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286520 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-29 16:20:25 +00:00
Derick Rethans
278a1fc932 - Fixed "u" specifier docs. They are miliseconds, and always show 6 digits.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286513 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-29 15:27:59 +00:00
Nilgün Belma Bugüner
c2608e09d8 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283804 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 06:46:52 +00:00
Hannes Magnusson
887db47107 Add the timezone chapter as seealso
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283660 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-07 14:40:07 +00:00
Richard Quadling
5aedae62db literal => constant for error constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282808 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-26 07:38:42 +00:00
Damien Seguy
533d4f0c33 fix example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282286 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-17 08:49:33 +00:00
Peter Cowburn
c83112eeec Added basic (no auto-correction, month wrapping) usage example for mktime
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282148 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-15 11:54:46 +00:00
Richard Quadling
ab84161554 Added timezone_version_get and timezone DB version to list of supported timezones generator.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279961 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-05 08:41:07 +00:00
Florian Anderiasch
17ea12fc89 fixed bug #48140
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279923 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-04 22:26:33 +00:00
Yannick Torres
228cc2459f fix markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279767 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-03 12:27:22 +00:00
Hannes Magnusson
874990cb85 All datetime functions throw E_WARNING now
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279395 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-26 12:33:50 +00:00
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