Boost logo

Boost Users :

From: Bart (bartmann.nsd_at_[hidden])
Date: 2005-08-09 13:17:56


On Mon, 08 Aug 2005 18:45:11 +0400, Serge Skorokhodov wrote:

> Hi,
>
> In 1.33RC2, the string with wrong formatted date produce wrong
> date-time rather than error (vc-7_1):
>

...

> Output:
>
> Date-time from 2002091: 2002-Sep-11 00:00:00
> Exception reading 20020913T17043: Parse failed. No match found for ''

We have a fix for this bug but, unfortunately, it wasn't done in time to
make the 1.33 release. I believe the plan is to have it in cvs shortly
after the 1.33 release is finalized.

The fix will throw an exception in both of your try/catch blocks. However,
I was unable to figure out how you got an "11" for the day-of-month.
I always got "01".

Bart


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net