1
0
mirror of https://github.com/php/doc-ja.git synced 2026-04-29 02:53:11 +02:00
Commit Graph

214 Commits

Author SHA1 Message Date
Yoshinari Takaoka 2938da1363 例外は「投げる」ではなく、「スローする」に統一
これは決めの問題だが、私も含めて、「スローする」派が圧倒的に優勢だったので、そちらに倒す。
2022-11-12 15:55:49 +09:00
Yoshinari Takaoka 7470707e12 Sync ext/date class synopsis with recent stub changes
https://github.com/php/doc-en/commit/0466dd93f73635c728c6c4707aaf5876692f1ef3
2022-11-08 00:04:30 +09:00
Yoshinari Takaoka c14a0dbac7 Remove references to "double" and use float instead
https://github.com/php/doc-en/commit/19e8122137a1d42ed60f17fe2c0c2b69b0b2d16b
2022-10-02 16:29:20 +09:00
Yoshinari Takaoka 3b0fe497ba Update date-parse.xml / Updated EN-Revision only
閉じ括弧が足らなかっただけだが、日本語版では忖度して既に付け足されていた。

https://github.com/php/doc-en/commit/20415705a39ed26573f01fa033c126f28253d52f
2022-09-19 20:49:38 +09:00
Yoshinari Takaoka e744a615bf Fix: date_parse_from_format error when parsing 'Gis' format
https://github.com/php/doc-en/commit/6965a6fb7954da476369de4333cfc2aab0527146
https://github.com/php/doc-en/commit/d26d03c3c430ece275cd027379e13a28ae5a4d65
2022-09-14 12:16:23 +09:00
Yoshinari Takaoka ac5f0a8030 Updated EN-Revision only / 誤訳を修正
dateperiod/construct については完全に誤訳でした... 危ない

https://github.com/php/doc-en/commit/b7ac6fa547cef108d56729fa322677eec4882285
2022-09-01 01:34:45 +09:00
Yoshinari Takaoka 6dafc223b2 戻り値の説明がずれていたバグを修正 2022-08-28 20:21:10 +09:00
Yoshinari Takaoka 2aa8992d5b example のタイトル未訳を修正 2022-08-27 15:49:49 +09:00
Yoshinari Takaoka 1a5bd7df00 [status ready] translated date-parse[-from-format].xml 2022-08-27 13:02:33 +09:00
Yoshinari Takaoka f98943bb1f [status ready] translated timezone-version-get.xml 2022-08-27 12:32:21 +09:00
Yoshinari Takaoka a13ed0299d [status working] 余計な一行を削除 2022-08-27 09:10:31 +09:00
Yoshinari Takaoka a32f3ded42 [status ready] mktime.xml 2022-08-27 09:08:30 +09:00
Yoshinari Takaoka 39ae6e5752 余分な改行を削除 2022-08-27 09:00:54 +09:00
Yoshinari Takaoka 0553bb28fb [status working] Incorporate useful information from notes (take 3)
https://github.com/php/doc-en/commit/5c951013ca04161992efed8b86fb40f55669958e
2022-08-27 08:57:18 +09:00
Yoshinari Takaoka 846dc94826 Incorporate useful information from notes (take 2)
https://github.com/php/doc-en/commit/c249f3bc56fcdb3ea3f64b1fa0c4fd96a7dcd5a4
2022-08-27 07:38:02 +09:00
Yoshinari Takaoka a5ed4735b4 Fix: mktime error documentation
We do not document what happens in case of passing wrong parameter
types for each function.  Thus the `&false;` return value in this case
(prior to PHP 8.0.0) is irrelevant.

The warning on invalid timezones is no longer emitted as of PHP 5.1.2.
This should be checked for other functions as well.

We also remove the details about omitting arguments, since this is
general behavior of functions, and as of PHP 8.0.0, there are named
parameters.

https://github.com/php/doc-en/commit/19379827d521db180b2fa2c9044e008318656c14
2022-08-26 17:31:02 +09:00
Yoshinari Takaoka a4f68c0496 Fix example for time()
https://github.com/php/doc-en/commit/a4ac869932423a285eabd6fce3b4bc643f1558ab
2022-08-16 12:22:22 +09:00
Yoshinari Takaoka c4de4986c7 strtotime() fixes from comments
* Add note on relative date calculations, which can be... weird.
* Just link to the existing format docs; they're too complicated to inline on this page.

https://github.com/php/doc-en/commit/26cf98b63af3d5dd9793055596d2996851e65ffe
2022-07-14 02:47:12 +09:00
Yoshinari Takaoka 1265cd0e19 不要な冠詞を削除 2022-07-04 20:50:56 +09:00
Yoshinari Takaoka 81f9e7b562 baseTimestamp に関する説明の訳が完全に意味不明だった点を改善
reported by kenjis

関数の挙動全体を見直さないまま、文章を繋いでしまったのが誤訳の原因...
面目ない。。
2022-07-04 17:54:35 +09:00
Yoshinari Takaoka 1af9e65c2d Typos
https://github.com/php/doc-en/commit/e7b5172917e6ff8b6510770769ae71e8473e44f4
2022-06-14 02:17:15 +09:00
Yoshinari Takaoka 10959e8be9 Tweak explaination of default timezone
https://github.com/php/doc-en/commit/4bf21e8867650755d5dea13e01049d2825486ea2
2022-06-10 00:05:39 +09:00
Yoshinari Takaoka 093eee484c 日付/時刻 に関する大量更新 2022/06/05 分 2022-06-05 11:31:01 +09:00
Yoshinari Takaoka f5ece981f6 reference/datetime/functions 以下の変更に追随 2022-06-04 14:41:41 +09:00
Yoshinari Takaoka 1dd44f1865 DateTime まわりの大幅変更に追随 PART I. 2022-06-04 11:59:52 +09:00
Yoshinari Takaoka 57f83db14b Fixed bug #70154: date_parse() not returning false for missing time components
https://github.com/php/doc-en/commit/cf25abe5d089fc9486b98576671f8b90b357cf31
2022-06-04 02:34:54 +09:00
Yoshinari Takaoka 2440d0ec80 Fixed bug: strftime format "%p" is not always uppercase "AM/PM"
https://github.com/php/doc-en/commit/9ff98b38276060be5c9e3fcd1aa6721f2f955213
2022-05-21 00:40:35 +09:00
Yoshinari Takaoka aaf42f7643 Document new 'N' and 'o' letters (ISO-8601 day-of-the-week, and ISO-8601 year)
https://github.com/php/doc-en/commit/5e865c822bc21a97228facd06533a3c93ba5edad
2022-05-15 22:31:23 +09:00
takaram 545566fec0 「失敗した場合にfalseを返します」の後に句点を追加 (#48) 2022-05-12 22:47:52 +09:00
Yoshinari Takaoka 3fa768aa8b Fix: strftime is deprecated as of PHP 8.1 but no mention of what to use instead
https://github.com/php/doc-en/commit/a8b575aeac14163c3a30ed87b5c839329004f0ef
2022-04-07 02:47:41 +09:00
Yoshinari Takaoka ae12c19e73 strftime() is deprecated, yet advised to use here
We fix the wrong wording in the migration guide as well.
https://github.com/php/doc-en/commit/9b7ab9bc8e78b1201b8b8c71eac051256d433993
2021-12-19 06:44:15 +09:00
Yoshinari Takaoka 0d7dda7077 strftime is deprecated since PHP 8.1
https://github.com/php/doc-en/commit/e8d10b3f15db8a19a3f52e40062f86a3417289df
2021-11-30 09:03:55 +09:00
Yoshinari Takaoka 0555fa191f s/返り値/戻り値/g 2021-10-09 02:40:05 +09:00
Yoshinari Takaoka 13da286d38 [PHP 8.1] Deprecated functions and constants
https://github.com/php/doc-en/commit/8a2141dcc084f72feb4e0ae2feaff3b440e5c59e
2021-10-05 02:19:11 +09:00
Yoshinari Takaoka c8ad513872 fixed localtime returnvalues description / Updated EN-Revision only.
そもそも、この修正は私が doc-en に報告したもので、既に日本語版は修正済みであった。よって、EN-Revision のみを更新。

https://github.com/php/doc-en/commit/a4ba07f273fd7d34520a8d02052a746076094e32
2021-09-18 18:16:37 +09:00
Yoshinari Takaoka e55127c6be fixed untranslated return values part. 2021-08-12 21:04:09 +09:00
Yoshinari Takaoka d511940d20 Fix issues in mcrypt and datetime directories (php/doc-en#691) 2021-06-16 08:24:54 +09:00
Yoshinari Takaoka 973fda8800 Fix some issues in datetime directory 2021-06-11 02:00:30 +09:00
Yoshinari Takaoka d8a1fc6480 Remove PHP 5, 7 references (php/doc-en#563)
- array functions
- datetime functions
- mbstring functions
- strings functions
- var functions
- xml functions
- json functions
2021-05-17 10:16:49 +09:00
Yoshinari Takaoka baeb602790 Removed references to PHP 5, PHP 7.0 (php/doc-en#545) 2021-04-25 17:35:27 +09:00
Yoshinari Takaoka 2c7c178ce4 Fix #74982: strftime %P not working on Alpine Linux 2021-04-15 01:25:11 +09:00
Yoshinari Takaoka a868f826ac Generate methodsynopses based on recently updated stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-362.
2021-01-20 06:27:08 +09:00
Yoshinari Takaoka c5325fd10e Fix #75073: date_default_timezone_set() doesn't reflect removal 2021-01-16 06:05:10 +09:00
Yoshinari Takaoka def02cf418 Generate some standard methodsynopses based on stubs
Cf. <https://github.com/php/doc-en/pull/289>.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352198 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 04:34:12 +00:00
Yoshinari Takaoka 84416821ad Calling (gm)mktime() without arguments is deprecated as of PHP 7.0.0
We drop the duplicate notes section, but instead of moving the information down
to the end of the page, we add it to the function description.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352148 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-20 23:31:44 +00:00
Yoshinari Takaoka a076104855 Generate ext/date methodsynopses based on stubs
Closes GH-185.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352147 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-20 23:25:29 +00:00
Yoshinari Takaoka 639fab49da Fix #66777: strftime returns empty string when input fmt string exceeds 1024
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352126 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-18 23:54:39 +00:00
Yoshinari Takaoka 975835b9bd update EN-Revision only
EN-Revision was fully updated, because of revert r351730, r351729.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352016 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-11 19:06:49 +00:00
Yoshinari Takaoka b132ae542e Remove obsolete PHP 5 specific info
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351202 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 22:37:35 +00:00
Yoshinari Takaoka e70a9d4629 Fix return types
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351156 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 19:51:55 +00:00