Skip to content

Suggestion: time::Month::from_number to be pub #742

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

Open
Rosdf opened this issue Apr 29, 2025 · 1 comment
Open

Suggestion: time::Month::from_number to be pub #742

Rosdf opened this issue Apr 29, 2025 · 1 comment
Labels
A-core Area: anything not otherwise covered C-feature-request Category: a new feature (not already implemented)

Comments

@Rosdf
Copy link

Rosdf commented Apr 29, 2025

Make time::Month::from_number pub, not pub(crate)

@jhpratt
Copy link
Member

jhpratt commented Apr 30, 2025

There is impl TryFrom<u8> for Month. Is that not sufficient for your needs?

@jhpratt jhpratt added C-feature-request Category: a new feature (not already implemented) A-core Area: anything not otherwise covered labels Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-core Area: anything not otherwise covered C-feature-request Category: a new feature (not already implemented)
Projects
None yet
Development

No branches or pull requests

2 participants