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

Open
#3,772 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
php, xml

Research direction

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.

Written by the indexing model from the issue text.

Description

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
Dominant language
HTML
Stars
57
Forks
165
Avg merge
5h 28m
Merged PRs (30d)
44

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from php/doc-fr

All issues in php/doc-fr

Similar issues

More Content issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.