Boost logo

Boost Users :

From: Jeff Garland (jeff_at_[hidden])
Date: 2005-07-19 06:39:12


On Fri, 15 Jul 2005 21:46:49 +0400, Serge Skorokhodov wrote
> Hi,
>
> I've built todays cvs boost library but date_time lib seems to have the
> same error as in 1.32 version. That is:
>
> wstring wts = _T("20021017T231217.12345");
> wdate_facet* date_facet = new wdate_facet;
> wtime_facet* time_facet = new wtime_facet;
> ptime pt1(
> from_iso_string(
> convert_string_type<_TCHAR, char>(wts)
> )
> );
> ... snip more details...

I've checked in a fix for the handling of fractional seconds on
from_iso_string. No direct wide char support on that function, but the time
should be correct now.

Thx for your report.

Jeff


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