https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125482

            Bug ID: 125482
           Summary: std::chrono::parse doesn't fail for invalid dates like
                    Nov 31 12:65:65
           Product: gcc
           Version: 16.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

Howard's intended design was to reject out-of-range values, like more days than
there are in a given month, or more minutes than there are in an hour. That
wasn't clear from the wording in the standard (an LWG issue will be opened
soon).

We should make libstdc++ do that checking.

Reply via email to