Skip to content

Adjust RelativeTo according to specification and implementation #140

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

Merged
merged 2 commits into from
Dec 25, 2024

Conversation

nekevss
Copy link
Member

@nekevss nekevss commented Dec 25, 2024

These are adjustments to the RelativeTo option based off integrating the most recent commits into Boa.

The primary issue is that RelativeTo is a specific to_relative_to abstract operation (specifically, GetTemporalRelativeToOption) that parses a string or property bag obj as a ZonedDateTime but has special cases to fall back to a PlainDate where that is possible.

This also removes keeping RelativeTo as a reference, because it's not really possible to have a reference where the PlainDateTime.

Copy link
Member

@jedel1043 jedel1043 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jedel1043 jedel1043 merged commit 6dffefe into main Dec 25, 2024
5 checks passed
@nekevss nekevss deleted the adjustments-to-relativeto branch December 27, 2024 22:07
@jedel1043 jedel1043 added the C-internal Internal library improvements label Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-internal Internal library improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants