Boost C++ Libraries: Ticket #3607: no error reporting when parsing ptime with user-defined facets (with bugfix) https://svn.boost.org/trac10/ticket/3607 <p> When parsing date/time with facets mismatches doe not get reported (e.g. vial failbit) </p> <p> reproduceable testcase: parse "20090101" with facet "%Y-%m-%dT%H:%M:%S%F" yields correctly parsed ptime "1-Oct-2009" but should not. </p> <p> the patch: adds check for testing of seperator characters to match format and actual parsed string. </p> <p> Maybe the additional check should be applied to different locations in the source code, which I cannot judge at this point. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3607 Trac 1.4.3 Thomas.Lemm@… Wed, 11 Nov 2009 10:16:01 GMT attachment set https://svn.boost.org/trac10/ticket/3607 https://svn.boost.org/trac10/ticket/3607 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-date_time-parse_ptime_with_format.patch</span> </li> </ul> <p> the patch </p> Ticket