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

<chrono>: Allows the parsing of year + day-of-year to a time_point #1940

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

MattStephanson
Copy link
Contributor

Fixes #1938.

  • Call to _Calculate_ymd should be sooner, so that parsed fields are
    converted to Gregorian YMD before we call _Apply_duration_fields.

 - Call to _Calculate_ymd should be sooner, so that parsed fields are
   converted to Gregorian YMD before we call _Apply_duration_fields.
@MattStephanson MattStephanson requested a review from a team as a code owner May 29, 2021 03:27
@CaseyCarter CaseyCarter added the bug Something isn't working label Jun 1, 2021
@StephanTLavavej StephanTLavavej added the chrono C++20 chrono label Jun 2, 2021
@StephanTLavavej
Copy link
Member

Thanks, looks great! I debugged through the test case in order to understand the control flow - really appreciate how you found exactly the right place to fix this. 😻

@StephanTLavavej StephanTLavavej merged commit 7ed0be0 into microsoft:main Jun 29, 2021
@StephanTLavavej
Copy link
Member

Thanks again for fixing this bug (or, as the compiler backend devs say, "silent bad codegen")! 😸 🪲 📅

@MattStephanson MattStephanson deleted the gh-1938 branch September 8, 2021 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working chrono C++20 chrono
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<chrono>: Allow the parsing of year + day-of-the-year to a time_point using from_stream
4 participants