gmstrftime の例を doc-en の最新に同期#379
Open
wadakatu wants to merge 1 commit into
Open
Conversation
php/doc-en#5014 (commit 6c27f7044c) の取り込み。 example のロケールを es_ES.UTF-8 に変更、date_default_timezone_set('EST') を 明示、format を %B に変更してロケールの効果を示し、deprecation 通知を含む 出力を <screen> ブロックで追加した。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
php/doc-en#5014(commit
6c27f7044c)の取り込みです。変更内容
reference/datetime/functions/gmstrftime.xmlの examples セクションを英語版の最新に追従:'en_US'から'es_ES.UTF-8'に変更date_default_timezone_set('EST')を明示し、strftime(ローカル)とgmstrftime(GMT)の対比を再現可能にした%b(省略月名)から%B(完全月名)に変更し、ロケールの効果をより明確に示した<example>を囲んでいた<para>ラッパーを撤去(英語版に追随)&example.outputs;と<screen>ブロックを追加し、PHP 8.1 以降の deprecation 通知を含む実際の出力を表示EN-Revision
3a8c3e77df070a046c9d5b56b68926ca2d7e5ee36c27f7044c7d42c23685afa916e7d7a44cf2bbb2検証
php doc-base/configure.php --with-lang=ja --enable-xml-detailsを実行し、XML バリデーションが通ることを確認しました("All good. Saved .manual.xml")。