Skip to content

datetime モジュールを完訳: PHP 8.4 の変更を同期し未訳5件を新規翻訳#396

Merged
KentarouTakeda merged 4 commits into
php:masterfrom
KentarouTakeda:sync-datetime-php84
Jun 11, 2026
Merged

datetime モジュールを完訳: PHP 8.4 の変更を同期し未訳5件を新規翻訳#396
KentarouTakeda merged 4 commits into
php:masterfrom
KentarouTakeda:sync-datetime-php84

Conversation

@KentarouTakeda

Copy link
Copy Markdown
Collaborator

翻訳内容

PHP 8.4 の date/time 拡張の変更を同期し、datetime モジュールを完訳化します(既訳更新 13件 + 新規翻訳 5件)。

新規翻訳: PHP 8.4 で追加されたメソッド(5件) — php/doc-en@726154e3c8

  • reference/datetime/datetime/createfromtimestamp.xml
  • reference/datetime/datetime/setmicrosecond.xml
  • reference/datetime/datetimeimmutable/createfromtimestamp.xml
  • reference/datetime/datetimeimmutable/setmicrosecond.xml
  • reference/datetime/datetimeinterface/getmicrosecond.xml

NoDiscard 属性の message 引数を同期(6件) — php/doc-en@726154e3c8

  • reference/datetime/datetimeimmutable/ 配下の add.xml, setdate.xml, setisodate.xml, settime.xml, settimezone.xml, sub.xml

PHP 8.4.0 の仮の戻り値の型変更の changelog を追加(3件) — php/doc-en@9eb962113c

  • reference/datetime/datetime/modify.xml
  • reference/datetime/dateinterval/createfromdatestring.xml
  • reference/datetime/datetimeimmutable/modify.xml(php/doc-en@726154e3c8 の NoDiscard 同期を含む)

isostr 非推奨化・seealso 追加(4件) — php/doc-en@9eb962113c, php/doc-en@726154e3c8

  • reference/datetime/dateperiod/construct.xml — isostr シグネチャの PHP 8.4.0 非推奨化(warning 改稿 + changelog 追加)
  • reference/datetime/datetimeimmutable/settimestamp.xml — NoDiscard 同期 + seealso に DateTimeImmutable::setMicrosecond を追加
  • reference/datetime/datetime/settimestamp.xml — seealso に DateTime::setMicrosecond を追加
  • reference/datetime/datetimeinterface/gettimestamp.xml — seealso に DateTimeInterface::getMicrosecond を追加

備考

reference/datetime/dateinterval/createfromdatestring.xml の changelog は、8.4.0 と 8.3.0 のエントリが同一 <row> 内にある原文 php/doc-en@9eb962113c のマークアップの誤りをそのまま反映しています(原文側に修正 PR は未提出)。原文の修正後に追従します。

@KentarouTakeda KentarouTakeda merged commit 0b76b9b into php:master Jun 11, 2026
2 checks passed
@KentarouTakeda KentarouTakeda deleted the sync-datetime-php84 branch June 11, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant