66 Commits

Author SHA1 Message Date
Mikhail Alferov b93836ce6f strftime.xml: amend the code of the example (#3524) 2024-07-07 15:52:41 +01:00
Mikhail Alferov dd8aa33167 strftime.xml: remove full stop in title (#3523) 2024-07-07 15:52:17 +01:00
Derick Rethans 5c951013ca Incorporate useful information from notes (take #3) 2022-08-26 15:20:37 +01:00
Derick Rethans 9ff98b3827 Fixed bug #76378: strftime format "%p" is not always uppercase "AM/PM" 2022-05-20 15:45:29 +01:00
Christoph M. Becker a8b575aeac Fix GH-1478: strftime is deprecated as of PHP 8.1 but no mention of what to use instead 2022-04-05 13:50:13 +02:00
Christoph M. Becker e8d10b3f15 Fix GH-1164: strftime is deprecated since PHP 8.1 2021-11-29 17:35:17 +01:00
Christoph M. Becker 6936064e73 Fix #74982: strftime %P not working on Alpine Linux 2021-04-12 14:12:41 +02:00
Christoph Michael Becker 34188f8256 Generate ext/date methodsynopses based on stubs
Closes GH-185.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352143 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-20 15:06:41 +00:00
Christoph Michael Becker 45c7531e42 Fix #66777: strftime returns empty string when input fmt string exceeds 1024
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352122 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-18 12:37:56 +00:00
Christoph Michael Becker 4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana 69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Christoph Michael Becker be5b0f33a1 Remove more changelog entries, mostly from PHP 5.1 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350653 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:45:57 +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 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
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
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
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
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
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
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
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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