Revert "TDB2: Converted from strtoul to std::stoul"

This reverts commit bdfd22ad88.
This commit is contained in:
Paul Beckingham 2015-11-02 18:41:57 -05:00
parent ef3e072436
commit d23d0fafb7

View file

@ -959,7 +959,7 @@ void TDB2::show_diff (
const std::string& prior,
const std::string& when)
{
ISO8601d lastChange (static_cast <time_t> (std::stoul (when)));
ISO8601d lastChange (strtol (when.c_str (), NULL, 10));
// Set the colors.
Color color_red (context.color () ? context.config.get ("color.undo.before") : "");