$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Serge Skorokhodov (serge.skorokhodov_at_[hidden])
Date: 2005-07-25 10:32:48
Hi,
The following code looks pretty suspicious to me:
extern const wchar_t* pts; // pts = L"2004071"
std::wistringstream wiss(pts);
wtime_input_facet* wtif = new wtime_input_facet;
wtif->set_iso_format();
wiss.imbue(std::locale(std::locale::classic(), wtif));
ptime pt;
wiss >> pt;
std::string dbgs = to_iso_string(pt);
// dbgs == "20040711T000000"
Seems to be a bug?
TIA
-- Serge