*** no comment ***

This commit is contained in:
John Wiegley 2005-10-28 07:22:12 +00:00
parent 4957bd4064
commit 7f0a1ac5a3

View file

@ -453,7 +453,7 @@ void format_t::format(std::ostream& out_str, const details_t& details) const
std::strftime(abuf, 255, elem->chars.c_str(),
std::localtime(&actual_date));
if (effective_date && effective_date != actual_date) {
if (effective_date != 0 && effective_date != actual_date) {
char buf[512];
char ebuf[256];
std::strftime(ebuf, 255, elem->chars.c_str(),