Reshaping the description#295
Merged
sumn2u merged 2 commits intosumn2u:mainfrom Aug 6, 2025
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Contributor
Author
|
replaced the description with the one you provided: "Returns a Date object converted to a Temporal.Instant, which represents a fixed point in time (down to nanoseconds, in UTC)." |
Owner
|
Fixes #293 |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR updates documentation across multiple language files to replace the deprecated toUTC() method with the newer toTemporalInstant() method in Date object method tables.
- Replaces outdated
toUTC()method documentation withtoTemporalInstant() - Updates method descriptions to reflect the Temporal API functionality
- Maintains consistency across Turkish, Nepali, Indonesian, French, Spanish, and English documentation
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tr/date-and-time.md | Updates Turkish documentation to replace toUTC() with toTemporalInstant() |
| np/date-and-time.md | Updates Nepali documentation to replace toUTC() with toTemporalInstant() |
| id/date-and-time.md | Updates Indonesian documentation to replace toUTC() with toTemporalInstant() |
| fr/date-and-time.md | Updates French documentation to replace toUTC() with toTemporalInstant() |
| es/date-and-time.md | Updates Spanish documentation to replace toUTC() with toTemporalInstant() |
| en/date-and-time.md | Updates English documentation to replace toUTC() with toTemporalInstant() |
| | `toUTCString()` | Convierte la fecha en una cadena según el formato universal. | | ||
| | `toUTC()` | Devuelve los milisegundos desde la medianoche del 1 de enero de 1970 en formato UTC | | ||
| | `toTemporalInstant()` | Devuelve un objeto Date convertido a Temporal.Instant, que representa un punto fijo en el tiempo (hasta nanosegundos, en UTC). | | ||
| | `valueOf()` | Devuelve el valor primitivo de `Date | |
There was a problem hiding this comment.
Missing closing backtick after Date. Should be Date.
Suggested change
| | `valueOf()` | Devuelve el valor primitivo de `Date | | |
| | `valueOf()` | Devuelve el valor primitivo de `Date` | |
| | `toUTC()` | Returns the milliseconds since midnight Jan 1 1970 in UTC format | | ||
| | `valueOf()` | Returns the primitive value of `Date` | | ||
| | `toTemporalInstant()` | Returns a Date object converted to a Temporal.Instant, which represents a fixed point in time (down to nanoseconds, in UTC). | | ||
| | `valueOf()` | Returns the primitive value of `Date | |
There was a problem hiding this comment.
Missing closing backtick after Date. Should be Date.
Suggested change
| | `valueOf()` | Returns the primitive value of `Date | | |
| | `valueOf()` | Returns the primitive value of `Date` | |
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.
No description provided.