Skip to content

Conversation

@robertbastian
Copy link
Member

No description provided.

@robertbastian robertbastian force-pushed the simulated branch 2 times, most recently from 99cd652 to 5ea69c0 Compare December 23, 2025 17:13
Copy link
Member

@sffc sffc left a comment

Choose a reason for hiding this comment

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

I think this direction is consistent with #7340, since it takes advantage of the bullet point "We decide to tweak the precise astronomical simulation used" and keeps the type AstronomicalSimulation as representing an astronomical simulation, just a different one than we had been shipping before.

Ok(AnyCalendarKind::HijriTabularTypeIIFriday)
}
Hijri(Some(HijriCalendarAlgorithm::Rgsa)) => Ok(AnyCalendarKind::HijriSimulatedMecca),
Hijri(Some(HijriCalendarAlgorithm::Rgsa)) => Err(()),
Copy link
Member

Choose a reason for hiding this comment

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

We don't return Err elsewhere in this fn; what is the impact?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes we do, for -u-ca-islamic

Copy link
Member

@Manishearth Manishearth left a comment

Choose a reason for hiding this comment

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

In favor of the technical implementation here.

Exact future for calendars still seems to be in flux, I am personally in favor of this being a component of most paths forward (potentially paired with some deprecation), but see #7320

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.

3 participants