Commit graph

290 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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