Commit graph

306 commits

Author SHA1 Message Date
Christoph Michael Becker
efe705d94a Document $zenith parameter
This integrates user note 82801, and is supposed to make 
user note 47839 superfluous.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344247 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-12 18:34:40 +00:00
Christoph Michael Becker
6b897704a1 Fix bug #46670: date_sunrise (date_sunset) works incorrectly with gmtoffset parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344245 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-12 17:19:29 +00:00
Christoph Michael Becker
0f43dbaec0 Document structure of result array
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344223 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-11 17:41:41 +00:00
Christoph Michael Becker
6250f7fb10 Clarify possible element types
We also give examples for polar night and midnight sun.
This integrates user note 83903 and 116828.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344216 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-11 16:41:08 +00:00
Christoph Michael Becker
7e4c47b05c date_sun(rise|set) fails if the sun does not rise or set
This integrates user note 114896.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344215 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-11 16:01:56 +00:00
Christoph Michael Becker
335b42f561 Add relevant links
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344214 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-11 14:11:44 +00:00
Christoph Michael Becker
8ed83c937f Add changelog entry regarding bug #39965
This integrates user note 111399.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344213 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-11 13:58:09 +00:00
Jakub Vrana
b8758b0605 Use entities in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +00:00
Christoph Michael Becker
50fe627f4f Fix #73787: strftime %k documentation self-contradicts
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341417 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-19 13:56:45 +00:00
Maciej Sobaczewski
95bdd6883b Another round of PHP 4 content removal (mostly inline mentions)
Review is welcome

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341282 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-05 10:17:07 +00:00
Christoph Michael Becker
a64043d7c6 This adds the 'v' format character introduced in e6819794eb
-- 
Provided by anonymous 77751 (me@jiripudil.cz)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341025 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-15 12:29:50 +00:00
Christoph Michael Becker
5894f6e970 Fix #68102: Incorrect / misleading description of the ISO-8601 week-numbering year
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339714 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-25 15:36:08 +00:00
Christoph Michael Becker
bd034b66e9 typo fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339242 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-30 14:13:34 +00:00
Christoph Michael Becker
bbed905d26 clarified behavior of nn-nn-nn parsing (fixes #61314)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337698 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-01 23:52:22 +00:00
Christoph Michael Becker
8d6a0d5257 documented parsing of relative formats (fixes #70209)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337325 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-07 21:03:06 +00:00
Christoph Michael Becker
f9aed876b8 clarified date() documentation regarding microseconds (#fixes 69789)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336982 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-16 20:46:13 +00:00
Maciej Sobaczewski
bce4e5f7d7 Document $is_dst parameter removal in PHP 7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336807 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-20 05:23:31 +00:00
Pedro Antonio Gil Rodríguez
480059bf56 Fiexed: %k format output was empty
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336488 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-11 12:21:24 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Maciej Sobaczewski
e41aab5eca Remove changelogs for PHP 4 - 3rd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334621 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 17:46:13 +00:00
Maciej Sobaczewski
4a0ea56892 Focus on current PHP versions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334557 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-17 07:49:10 +00:00
Peter Cowburn
9edaff269c Typofix (spacing in example comment)
--
Patch by anonymous #45510

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333770 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-13 08:12:47 +00:00
Joe Watkins
631b47c6b2 #65951 clarity in description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331966 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-25 15:58:40 +00:00
Adam Harvey
088c4558a5 Fix incorrect date() example.
Fixes doc bug #65762 (Example citing use of constant is slightly inaccurate).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331494 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-25 22:34:38 +00:00
Jakub Vrana
f65a959cff Document PHP 5.5 date classes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330266 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 06:06:10 +00:00
Sherif Ramadan
c2cc749d26 Updated changelog for strtotime's relative week changes. Fixes bug #52143.
This affects Derick's commits for 357292a098f572bc7baf11a8438314072af6c00b and 089bc254eb33b3c42418f869f2478ce35558c9ea in PHP 5.3, which change this behavior.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329158 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-16 11:04:22 +00:00
Adam Harvey
04af3ce6d4 Update the documentation for the %z and %Z strftime() modifiers to reflect how
C99 specifies them, and describe how Windows misinteprets them.

Also add a <literal /> to the Solaris warning, since there was one missing and
I was already in there.

Fixes doc bug #63662 (Strftime documentation for %z & %Z is not (necessarily?)
correct.).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328617 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-03 01:57:57 +00:00
Joe Watkins
e25450d9dc many bugs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328365 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-15 13:40:31 +00:00
Peter Cowburn
749312bffa Added script execution timing example which utilizes REQUEST_TIME_FLOAT (microtime as float) added in PHP 5.4
--
Provided by Dejan Marjanovic (dejan.marjanovic@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328336 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:34:55 +00:00
Adam Harvey
44a4313949 Add documentation for the %k strftime() modifier, and fix a couple of spelling
errors at the same time.

Fixes doc bug #63390 (Doc incomplete for strftime).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328193 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-30 06:17:20 +00:00
Yannick Torres
3a8dc25d68 Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328095 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-22 11:49:37 +00:00
Philip Olson
41f7d3c5c7 Added MySQL datetime format example. Patch by Ben Kuhl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327190 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-20 19:06:11 +00:00
Adam Harvey
6ad9c387c0 Clarify when the "u" format string actually does something useful, per doc bug
#55743 (date u - Microseconds (added in PHP 5.2.2)).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326951 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-03 01:57:04 +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
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
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
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
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
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
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
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
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
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
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