-
Notifications
You must be signed in to change notification settings - Fork 55
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
Change the behavior of DateTime::from_msdos
when value is invalid
#145
Labels
enhancement
New feature or request
fix merged
Fix is merged, but the issue will stay open until it's released.
Comments
Pr0methean
added a commit
that referenced
this issue
May 23, 2024
Loading
Loading status checks…
…afe, and add `try_from_msdos` (#145)
Merged
Lines 188 to 205 in 94765a4
This may also be defined as |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
fix merged
Fix is merged, but the issue will stay open until it's released.
Is your feature request related to a problem? Please describe.
DateTime::from_msdos
can create aDateTime
value even ifdatepart
ortimepart
is an invalid value.zip2/src/types.rs
Lines 139 to 156 in 6c60c67
Describe the solution you'd like
I would like one of the following:
A clear and concise description of what you want to happen.
DateTime::from_msdos
anunsafe
function.Err
ifdatepart
ortimepart
is invalid.datepart
ortimepart
is invalid.Describe alternatives you've considered
Specify in the documentation that an invalid
DateTime
value may be created.The text was updated successfully, but these errors were encountered: