mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Revert "TDB2: Converted from strtoul to std::stoul"
This reverts commit bdfd22ad88
.
This commit is contained in:
parent
ef3e072436
commit
d23d0fafb7
1 changed files with 1 additions and 1 deletions
|
@ -959,7 +959,7 @@ void TDB2::show_diff (
|
||||||
const std::string& prior,
|
const std::string& prior,
|
||||||
const std::string& when)
|
const std::string& when)
|
||||||
{
|
{
|
||||||
ISO8601d lastChange (static_cast <time_t> (std::stoul (when)));
|
ISO8601d lastChange (strtol (when.c_str (), NULL, 10));
|
||||||
|
|
||||||
// Set the colors.
|
// Set the colors.
|
||||||
Color color_red (context.color () ? context.config.get ("color.undo.before") : "");
|
Color color_red (context.color () ? context.config.get ("color.undo.before") : "");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue