Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Cleanup changes in "removals" #2867

Closed
wants to merge 20 commits into from

Conversation

gibson042
Copy link
Collaborator

No description provided.

ptomato and others added 20 commits May 27, 2024 15:26
FIXME: Needs test262 tests for the observable identity
FIXME: Needs test262 tests for observable identity
FIXME: Not sure if we want to do this, even! Maybe it's not great to call
a possibly overridden toString.
Removes the options parameter from Temporal.Duration.prototype.add and
Temporal.Duration.prototype.subtract. Everything else remains the same:
Additions and subtractions that previously succeeded without relativeTo,
still succeed, with the same results. Additions and subtractions that
previously threw if there was no relativeTo, now just throw
unconditionally.

Closes: tc39#2825
…hods

TimeZone.p.getNextTransition → ZonedDateTime.p.nextTransition
TimeZone.p.getPreviousTransition → ZonedDateTime.p.previousTransition

This is one step towards removing Temporal.TimeZone. The functionality of
querying UTC offset transition remains, but is moved to ZonedDateTime.

See: tc39#2826
Calendars and time zones will be only strings, not objects. Therefore
these methods that return the calendar or time zone as an object are not
needed.

See: tc39#2826
The whole Temporal.TimeZone is going to be removed in the following
commit, but since this method is being replaced with an idiom that needs
documentation, I'm removing it in a separate commit for ease of review.

See: tc39#2628
(This one probably still needs some editorial massaging and needs to be
checked with ecmarkup)
@ptomato
Copy link
Collaborator

ptomato commented Jun 5, 2024

Thanks! I will incorporate these edits directly into the removals branch, and pull "Docs: Add missing time of day" and "Docs: Use consistent language when referencing the POSIX epoch" into my next editorial PR.

@ptomato ptomato closed this Jun 5, 2024
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.

None yet

2 participants