[Sync EN] Document the Time/Duration class introduced in PHP 8.6 (#6026)

Đang mở
#3,772 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php, xml

Hướng nghiên cứu

Start with the EN commit and PR linked in the issue to see the new Time\Duration API, then read the listed French files appendices/migration86/new-features.xml, reference/datetime/book.xml and reference/datetime/dateinterval.xml to see where the class belongs. Translate the 19 new EN files under reference/datetime/time/duration/ and reference/datetime/time.*.xml into French, keeping the XML structure. Done when each listed FR file is updated and the new pages exist in French.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

sync-en

Commit: https://github.com/php/doc-en/commit/09e39c586d1fa47d499807f911ff92d69d175db7
PR: https://github.com/php/doc-en/pull/6026

Fichiers FR à mettre à jour

  • appendices/migration86/new-features.xml
  • reference/datetime/book.xml
  • reference/datetime/dateinterval.xml

Nouveaux fichiers EN (pas encore traduits)

  • reference/datetime/time.duration.xml
  • reference/datetime/time.timeexception.xml
  • reference/datetime/time/duration/absolute.xml
  • reference/datetime/time/duration/add.xml
  • reference/datetime/time/duration/compare.xml
  • reference/datetime/time/duration/construct.xml
  • reference/datetime/time/duration/divideby.xml
  • reference/datetime/time/duration/fromhours.xml
  • reference/datetime/time/duration/fromiso8601durationstring.xml
  • reference/datetime/time/duration/frommicroseconds.xml
  • reference/datetime/time/duration/frommilliseconds.xml
  • reference/datetime/time/duration/fromminutes.xml
  • reference/datetime/time/duration/fromnanoseconds.xml
  • reference/datetime/time/duration/fromseconds.xml
  • reference/datetime/time/duration/multiplyby.xml
  • reference/datetime/time/duration/negate.xml
  • reference/datetime/time/duration/sub.xml
  • reference/datetime/time/duration/unserialize.xml
Ngôn ngữ chính
HTML
Star
57
Fork
165
Merge trung bình
5 giờ 28 phút
Pull request đã merge (30 ngày)
44

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của php/doc-fr

Tất cả issue của php/doc-fr

Issue tương tự

Thêm issue về Content

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.