|
From: Robert L. <rz...@gm...> - 2007-09-03 15:04:12
|
I recently installed QuantLib-0.8.1 and think I've run into a minor
bug in the ostream operator << for short dates. The output adds an
extra "/" between the day and year fields. From date.cpp, lines
407-409:
> out << std::setw(2) << std::setfill('0') << mm << "/";
> out << std::setw(2) << std::setfill('0') << dd << "/";
> out << "/" << yyyy;
I think that this code should read
> out << std::setw(2) << std::setfill('0') << mm << "/";
> out << std::setw(2) << std::setfill('0') << dd << "/";
> out << yyyy;
Hope this is helpful.
--
- Rob
|