Commit graph

315 commits

Author SHA1 Message Date
Christoph Michael Becker
e78b64d1cc Fix #79284: mention htrime on page microtime
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349239 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-20 08:14:20 +00:00
Christoph Michael Becker
06e35bddfe Fix #78835: Ambiguous definition of format character
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348466 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-08 15:21:57 +00:00
Christoph Michael Becker
5d67e7308d Fix #78524: The zone element of the array is also changed for date_parse in 7.2
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348153 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-13 16:24:18 +00:00
George Peter Banyard
2e4914ba37 Fix changelog order
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347543 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-04 19:07:49 +00:00
George Peter Banyard
ed71049232 Typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347123 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-02 19:56:05 +00:00
Christoph Michael Becker
31af10a4a2 Fix #76838: date_parse_from_format() changed meaning of zone value in PHP 7.2 -> BC break
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345615 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-09 15:42:19 +00:00
Christoph Michael Becker
866b749d19 Fix typo
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345236 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-29 14:12:50 +00:00
Christoph Michael Becker
9cc4767b2d What's in a name?
The Macintosh operating systems changed their name a few times since
version 10. We follow suite, and use the proper name whenever we refer
to a certain version, and use “macOS” as generic term, since “Mac OS X”
and “OS X” versions are already unsupported, or loose support at the end
of this year.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345139 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-15 11:50:40 +00:00
Christoph Michael Becker
c84f47ac7f Document the zenith angles which are used for the calculation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344255 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-13 13:44:31 +00:00
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