Commit graph

610 commits

Author SHA1 Message Date
Adam Harvey
d8fc668de6 Give the DateInterval documentation a bit of a freshen up; in particular,
provide a set of examples of the sort of format
DateInterval::createFromDateString() expects.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326736 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 10:07:07 +00:00
Adam Harvey
4174a16888 Fix doc bug #62486 (Missing documentation for DatePeriod).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326735 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 09:39:42 +00:00
Derick Rethans
fb16d269be - Updated to version 2012.4 (2012d)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326731 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 09:11:15 +00:00
Hannes Magnusson
858cacd62c mark bunch of extensions with "membership" PI (like the membership comment)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326064 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:34:56 +00:00
Derick Rethans
f850d69654 - Updated to version 2012.3 (2012c)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324705 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-02 09:40:27 +00:00
Derick Rethans
1f4b14b007 - Updated to version 2012.2 (2012b)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323833 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-02 17:06:53 +00:00
Derick Rethans
bb0c470b94 - Updated to version 2012.1 (2012a)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323709 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-01 15:10:23 +00:00
Jakub Vrana
f052ac1bd7 Revert useless change in 326638
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323642 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-29 00:24:15 +00:00
Jakub Vrana
c0ade579d4 PHP_INI_* is in fact INI_
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323638 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 20:26:39 +00:00
Jakub Vrana
4de5cce5d8 Linkable reference constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323624 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 13:22:09 +00:00
Peter Cowburn
06c5e16e4c mention that @ sets the timezone to UTC (doc #55642)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323519 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-25 16:29:32 +00:00
Peter Cowburn
08a9abb395 use date_offset_get() in procedural example (doc #61179)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323517 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-25 16:17:59 +00:00
Maciek Sokolewicz
06ffcb46b1 Fixed incorrect english use (incorrect use of 'an' and 'one of those:' )
-- 
Provided by anonymous #13445 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323195 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-13 20:08:15 +00:00
Maciek Sokolewicz
7ae82a50bb Changed wording of "hour of day relevent to start of day" to relative to start of day. Of course this is 'relevant', but still relative ;)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323194 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-13 19:59:43 +00:00
Peter Cowburn
cab50ec5a8 added changelog entry for datetime object comparisons
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323164 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-12 16:06:16 +00:00
Peter Cowburn
6aeb850f29 Quotes around DateTime string constants' initializers. Patch by Volker Dusch.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322441 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-18 10:31:03 +00:00
Jakub Vrana
0bce004e94 Close PHP tag
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322160 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-13 02:11:53 +00:00
Jakub Vrana
fcddfb2551 Link directly to magic methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322136 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-12 15:01:15 +00:00
Jakub Vrana
b9c3ddd1d3 Use entities for INI headings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322061 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-11 08:09:53 +00:00
Hannes Magnusson
085ce88f63 Add version info for some classes and new intl stuff
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321137 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-18 17:39:22 +00:00
Justin Martin
e59f309ec0 Replaced outdated windows boundary example with basic usage example. Closes bug #54430.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320390 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-04 22:19:30 +00:00
Peter Cowburn
3c57264652 mention what happens with no timezone, or when it is ignored, for datetime::createfromformat (thanks aeiou)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320207 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-30 20:59:44 +00:00
Justin Martin
ac22c255fa Whitespace. Thanks, Peter.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320204 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-30 18:54:41 +00:00
Justin Martin
ec3a7c43bc Added note regarding the behaviour of relative months. Closes bug #60353.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320010 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-27 03:58:58 +00:00
Daniel Convissor
eb169785f1 Clarify time zone situation and specify that add/sub/modify are better for math (closes bug #60212).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319642 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-21 17:10:22 +00:00
Daniel Convissor
94adebe079 Clarify "days" property (closes bug #54495).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319638 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-21 15:36:19 +00:00
Derick Rethans
33d1b58781 - Updated to version 2011.14 (2011n)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318681 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-02 10:59:16 +00:00
Peter Cowburn
8f5f41464b link date_parse_from_format in see also of strptime
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318620 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-31 21:49:35 +00:00
Derick Rethans
5d9d9356c5 - Updated to version 2011.13 (2011m)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318373 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-24 15:19:34 +00:00
Peter Cowburn
3b488da02f initializer for strtotime now param (patch by anon 11351)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318103 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-14 11:39:04 +00:00
Peter Cowburn
7992a39701 remove repetition
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318017 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-11 11:41:25 +00:00
Derick Rethans
3d1dd1407e - Updated to version 2011.12 (2011l)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317957 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-10 08:11:59 +00:00
Peter Cowburn
53998bb459 add link to Date and Time Formats page from strtotime/DateTime::__construct (thanks Tom Power)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317556 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-30 21:17:43 +00:00
Richard Quadling
10aeda1901 "Olson" Timezone Database Version => 2011.11 (2011k)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317399 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-27 14:49:17 +00:00
Jakub Vrana
eeab0c68f8 Link strptime() and DateTime::createFromFormat()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317246 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-24 09:29:52 +00:00
Nikita Popov
53405b6cbb Fix Doc Bug #55676: Strange example title
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316679 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-13 18:20:20 +00:00
Derick Rethans
e8964e3b43 Fixed docs with changed behaviour in PHP 5.4.0 regarding timezone guessing.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316651 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-13 15:08:36 +00:00
Richard Quadling
4de085db49 "Olson" Timezone Database Version => 2011.10 (2011j)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316558 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-12 16:28:51 +00:00
Shein Alexey
66296db2fa Removed extra section and "XXX Node Types" title.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316532 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-12 13:06:48 +00:00
Richard Quadling
b9800d01fb Updated Timezones to Olson 2011.9 (j)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315977 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-01 12:08:31 +00:00
Richard Quadling
fc9e379fd8 Standardise on single style of quotes for XML tag.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315005 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-16 11:38:58 +00:00
Philip Olson
66cd0f0700 Linked to a strftime() format designer thingee
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313294 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-16 20:06:46 +00:00
Jakub Vrana
ac04b2ea21 Extension purpose is not needed anymore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313269 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-15 15:46:15 +00:00
Peter Cowburn
12bf2afc48 link to strtotime from date see also section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313168 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-12 09:00:09 +00:00
Justin Martin
a0699b136e Noted 64-bit behaviour of PHP for timestamps.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312829 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-03 00:19:14 +00:00
Jakub Vrana
8b428b0908 Improve example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312626 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-29 13:44:51 +00:00
Richard Quadling
7f7428363d "Olson" Timezone Database Version => 2011.8 (2011h)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312533 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-27 14:20:21 +00:00
Philip Olson
086dc12715 Added missing refnames
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312463 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-25 19:38:40 +00:00
Matthew Fonda
37ae4795d9 Fix spelling error in DateTime::__construct example: "Non-existant" should be "Non-existent". Fixes bug #55050
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312132 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-13 23:29:39 +00:00
Jakub Vrana
e84c1f221c Link getdate and localtime
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311354 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-23 15:03:08 +00:00
Peter Cowburn
83c927f576 initializer for timestamp in gmdate() (doc #54794)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311169 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 23:22:38 +00:00
Peter Cowburn
35313adda3 initializer for microtime() and gettimeofday() (doc #54784 #54785)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311166 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 22:42:30 +00:00
Peter Cowburn
a21e00fe21 initializer for timestamp in date() (doc #54783)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311165 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 22:35:34 +00:00
Peter Cowburn
bc8c8ab759 grammar ("rather then" to "rather than") (doc #54670)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310795 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-05 19:09:30 +00:00
Richard Quadling
201018aaab "Olson" Timezone Database Version => 2011.7 (2011g)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310763 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-04 15:51:08 +00:00
Peter Cowburn
ea9276ffcb added changelog for absolute datetime::modify strings (doc #54456, related r306392)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310652 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-29 12:20:22 +00:00
Pierrick Charron
e5f0d0ecb2 Fixed bug #54630
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310649 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-29 11:14:50 +00:00
Peter Cowburn
cc701b8e1c tidy localtime descriptions (doc #54166)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310555 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-27 12:07:36 +00:00
Daniel P. Brown
9c8f3c8f34 Fixes two bugs pointed out by "Theriault" and implements two minor grammar reconstructions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310400 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-20 18:32:07 +00:00
Hannes Magnusson
1e3bd50e65 Fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310067 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-08 14:35:18 +00:00
Derick Rethans
0900962a11 - Clarify the guessing stage of date_default_timezone_get() a bit to prevent bug reports such as #54481.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310049 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-08 09:39:09 +00:00
Richard Quadling
3883965ad0 "Olson" Timezone Database Version => 2011.5 (2011e)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309868 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-01 12:12:40 +00:00
Richard Quadling
929ce0958b "Olson" Timezone Database Version => 2011.4 (2011d)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309298 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-16 10:31:38 +00:00
Adam Harvey
18731686ea Fix doc bug #54139 (All date acceptance functions should cross-reference
checkdate()) by cross referencing checkdate().


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309064 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-10 07:13:07 +00:00
Richard Quadling
ac7564a244 "Olson" Timezone Database Version => 2011.3 (2011c)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308998 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-07 17:37:59 +00:00
Shein Alexey
69f8b369aa Fixed a typo in example of %c parameter (closes #54070).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308567 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-22 14:05:12 +00:00
Peter Cowburn
9425da2dfa typofix (dittographies)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308547 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-21 21:42:02 +00:00
Richard Quadling
7946764ba4 "Olson" Timezone Database Version => 2011.2 (2011b)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308432 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-17 14:00:27 +00:00
Adam Harvey
c6c01a4571 Fix doc bug #53954 (no returing value description for microtime()).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308125 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-08 10:27:42 +00:00
Richard Quadling
78fd6bb1d2 mktime and gmmktime's params are a little more complex. Fix bug#53798
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307764 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-26 11:06:02 +00:00
Richard Quadling
409ea6352f "Olson" Timezone Database Version => 2011.1 (2011a)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307717 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-24 17:19:48 +00:00
Richard Quadling
3ab9b409b6 Updated example to show corrected procedural usage.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307705 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-24 10:35:01 +00:00
Peter Cowburn
67e40e7f48 Added param info for timezone_location_get() (closes doc #53827)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307700 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-24 09:23:45 +00:00
Adam Harvey
1d9042e25c Fix doc bug #53706 (Misleading example on datediff format page).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307395 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-12 03:54:31 +00:00
TAKAGI Masahiro
dde4eabf0c fix typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306559 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-21 21:04:12 +00:00
Kalle Sommer Nielsen
38b8faf180 Improved example #3 (%e modifier on Windows) - Patch by simon at stienen dot name (bug #53558)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306482 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-20 02:00:39 +00:00
David Tajchreber
8258c65cf5 Fixed bug #53532 typo on date_parse_from_format page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306308 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-12 23:05:23 +00:00
Peter Cowburn
1ff0e06a1d <method> to <methodname>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306289 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-12 19:35:11 +00:00
Derick Rethans
79cd70162d - Fixed XML.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306286 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-12 19:02:09 +00:00
Derick Rethans
ec7222dda3 - The format specifiers for createFromFormat and parse_from_format() are not
the same as date()'s. I've documented them now.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306285 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-12 19:01:20 +00:00
Derick Rethans
fc99dbfc0a - better section header
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306284 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-12 19:00:32 +00:00
Derick Rethans
33eb8ae7d3 - Create more logical order.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306283 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-12 18:59:58 +00:00
Richard Quadling
515006c2e5 New example to report all the values for the formats.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305948 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-03 16:00:26 +00:00
Adam Harvey
94073df47d Fix doc bug #53456 (Documentation should mention that %P doesn't work in Mac OS
X due to diff C lib).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305938 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-03 10:15:06 +00:00
Peter Cowburn
4b5aa71aaf wrapped class name in tag, removed unnecessary para tag
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305693 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-23 13:19:31 +00:00
Adam Harvey
f851c80f54 Fix the commit in r305678 so the manual builds again and reword the return
values section of the page, since I already had it open and all. :)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305688 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-23 10:58:37 +00:00
Justin Martin
49f47fddb0 Added parameter for procedural style.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305678 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-23 03:59:08 +00:00
Daniel P. Brown
cb18b62069 Fixes typo from Bug #53381.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305677 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-23 01:09:48 +00:00
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
Justin Martin
8c01f07f3c Added example of using comparison operators to compare DateTime objects, as per bug #53249.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305145 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-07 05:19:12 +00:00
Richard Quadling
0fc9252e63 "Olson" Timezone Database Version => 2010.15 (2010o)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305026 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-02 11:36:38 +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
3b77a371fd Fixed bug #51317 (Errors/Exceptions section is incorrect)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304529 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 05:08:56 +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
Kalle Sommer Nielsen
e1f7f5aecf Fixed bug #51924 (Missing MySQL datetime format in list of valid formats)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304519 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 00:21:53 +00:00
Gustavo André dos Santos Lopes
0c430b011e - In example, "new date_create" corrected to "date_create". Closes bug #52973.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303959 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-02 19:08:23 +00:00
Richard Quadling
c86065e294 Proceed (to go forward) => prefixed (added to the beginning of a word)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303920 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-01 11:59:12 +00:00
Richard Quadling
852db5102e TZDB V2010.13 (2010m)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303791 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-27 14:11:50 +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
Richard Quadling
1644a4f4db TZDB V2010.12 (2010l)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302351 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-16 13:56:40 +00:00
Richard Quadling
81211debd5 TZDB V2010.11 (2010k)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302338 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-16 12:27:50 +00:00
Daniel Egeberg
3789d01ba8 Added undocumented public properties in DateInterval.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301510 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-24 12:02:57 +00:00
Adam Harvey
5c46b0354a Per doc bug #52378 (new DateTime(time()) failed and should not), clarified how
you can emulate the functionality of DateTime::setTimestamp() in PHP 5.2 with
an example.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301411 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-20 04:25:14 +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
Richard Quadling
52c6382222 Use &date.datetime.retval.changelog; for changelog to bring it inline with other methods.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300803 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-28 12:22:05 +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
Peter Cowburn
975bee39f1 doy values of 001-009 are allowed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300164 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-03 13:52:49 +00:00
Richard Quadling
54b35123bc Temporarily hide unrequired synopses from datetime documentation (all translations) as these are generating a warning during the build process.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299689 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-24 12:51:39 +00:00
Peter Cowburn
3f159d3087 Correct description of special ! character. Fixes #51866
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299631 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-22 19:13:10 +00:00
Richard Quadling
55940885de Add oop or procedural roles to constructorsynopsis and methodsynopsis.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299487 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-19 13:18:07 +00:00
Richard Quadling
f53f615b19 Unintentional <void/> return type. Sorry.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299463 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-18 17:10:19 +00:00
Richard Quadling
f85c864b93 Add roles to methodsynopsis.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299461 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-18 17:08:30 +00:00
Richard Quadling
943cea1918 Standardised collection of constructor/destructor/methods for datetime classes.
Automatically handles any new methods as well as separation of constructorsynopsis and destructorsynopsis.
Fallback of "blank" when the xxxxsynopsis entries do not exist.
Used &Methods; for tr translation.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299458 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-18 16:52:10 +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 Convissor
d562dc3ee6 Clarify date string parameter.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299418 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-17 01:05:05 +00:00
Daniel Convissor
58d4069d7f Say object parameter is modified rather than being passed by reference (as was put forth in r298971)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299417 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-17 00:31:47 +00:00
Daniel Egeberg
059449e23e Minor changes in formats.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299413 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-16 13:38:29 +00:00
Daniel Egeberg
00416213c8 Fixed some bad copy/paste
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299404 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-15 20:59:37 +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
Richard Quadling
1b93e89734 Separate constructorsynopsis from methodsynopsis.
Added missing procedural function prototypes to OOP methods.
Updated xi:includes to get OOP style constructor and methodsynopsis only.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299350 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-13 15:33:37 +00:00
Richard Quadling
c8d0e68933 TZDB V2010.09(2010i)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299349 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-13 15:30:00 +00:00
Adam Harvey
ad31b64bbb Typo fix (thanks Derick!).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299014 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-05 09:50:28 +00:00
Daniel Convissor
5da1c6eac5 Add error handling to basic example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299010 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-05 03:45:09 +00:00
Daniel Convissor
87775dd402 Add example of dates rolling over.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299009 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-05 03:18:48 +00:00
Daniel Convissor
0e209aff72 Add example of how adding months can be problematic.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299008 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-05 03:05:09 +00:00
Daniel Convissor
fe271d65f0 Use function instead of methodname in seealso to get () in output.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299003 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-05 00:51:18 +00:00
Daniel Convissor
631a7e0046 Add get last errors to see also.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299001 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-05 00:30:24 +00:00
Daniel Convissor
a23cd14d80 Improve return section text.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298982 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-04 17:21:29 +00:00
Daniel Convissor
c8c3d5ba2e Add return values section.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298981 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-04 17:21:02 +00:00
Daniel Convissor
7c0a9d9625 Procedural methods operate on object by reference.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298971 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-04 14:07:26 +00:00
Adam Harvey
4943fdaa3f Added an example to make clearer the misunderstanding that led to bug #51737
(Having a bug when using date_diff($t1,$t2)).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298955 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-04 10:06:59 +00:00
Daniel Convissor
dee90d3315 Clarify and standardize some datetime return values via new entity.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298939 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-04 04:56:40 +00:00
Daniel Convissor
8b7427f897 Provide new entity for procedural returning false on failure.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298938 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-04 03:46:27 +00:00
Daniel Egeberg
2b587ab01f Normalized initializer NULL-values to use the &null; entity:
for file in `find -name '*.xml'`; do sed -i -e 's/<initializer>null<\/initializer>/<initializer>\&null;<\/initializer>/i' $file; done



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298918 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-03 17:10:04 +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
bc56b6e4f1 Add example section.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298753 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-29 02:59:03 +00:00
Daniel Convissor
775021759a Add purpose to description section, just like everything else in the manual.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298752 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-29 02:18:36 +00:00
Daniel Convissor
dcd7880c98 Change link to timzone construct.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298751 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-29 02:08:22 +00:00
Daniel Convissor
b20aaa77b9 Add link to timzone construct.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298750 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-29 02:08:04 +00:00
Daniel Convissor
689d821965 Remove see also timezone_open, not really relevant here.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298747 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-29 01:57:26 +00:00
Daniel Convissor
11ce78cab3 Add value of parameter defaults.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298746 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-29 01:50:10 +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
Richard Quadling
398011b458 Examples tidied.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298710 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-28 16:39:21 +00:00
Daniel Convissor
0e42d1d3a6 Reworked examples to new oop/procedural combination format. Changed several titles. Simplified some initial examples and moved some parts to new examples. Per discussion on php-doc.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298705 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-28 15:58:26 +00:00
Richard Quadling
3676a17188 TZDB V2010.07 (2010g)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298594 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-26 12:12:39 +00:00