-
-
Notifications
You must be signed in to change notification settings - Fork 33.3k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.
Description
📗 API Reference Docs Problem
- Version: 14.9.0
- Platform: Windows 10 2004 64-bit
- Subsystem: Console
Location
Section of the site where the content exists
Affected URL(s):
Description
Concise explanation of the problem
The current documentation for console.time states "...when calling console.timeEnd() to stop the timer and output the elapsed time in milliseconds to stdout". However, since the application of PR #29251 that affects Node.js V13 and higher, this behavior changed to "display timeEnd with suitable time unit". For example, if the elapsed time is 3869ms, console.timeEnd() now displays "3.869s". For greater values, it will also display hours and minutes per the code in lib/internal/console/constructor.js. In the examples for console.timeLog() and consooe.timeEnd(), none show anything other than milliseconds as an output.
- I would like to work on this issue and
submit a pull request.
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.