Revert "Feedback: Converted from strtol to std::stoul"

This reverts commit 8f60b1f9c5.
This commit is contained in:
Paul Beckingham 2015-11-02 18:38:21 -05:00
parent 284330ea1d
commit d4f6f00b29

View file

@ -267,7 +267,7 @@ std::string renderAttribute (const std::string& name, const std::string& value,
col->type () == "date" && col->type () == "date" &&
value != "") value != "")
{ {
ISO8601d d (static_cast <time_t> (std::stoul (value))); ISO8601d d ((time_t)strtol (value.c_str (), NULL, 10));
if (format == "") if (format == "")
return d.toString (context.config.get ("dateformat")); return d.toString (context.config.get ("dateformat"));