- Wrong include.
This commit is contained in:
Paul Beckingham 2011-04-01 23:32:54 -04:00
parent b63e92b540
commit 44e6b27560

View file

@ -28,6 +28,7 @@
#include <string> #include <string>
#include <sstream> #include <sstream>
#include <vector> #include <vector>
#include <stdlib.h>
#include <inttypes.h> #include <inttypes.h>
#include <Att.h> #include <Att.h>
#include <Context.h> #include <Context.h>
@ -280,7 +281,7 @@ std::string renderAttribute (const std::string& name, const std::string& value)
if (a.type (name) == "date" && if (a.type (name) == "date" &&
value != "") value != "")
{ {
Date d ((time_t)::strtol (value.c_str (), NULL, 10)); Date d ((time_t)strtol (value.c_str (), NULL, 10));
return d.toString (context.config.get ("dateformat")); return d.toString (context.config.get ("dateformat"));
} }