mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Col*: Missing paren
This commit is contained in:
parent
36ad7ead41
commit
e3ea548de0
2 changed files with 4 additions and 4 deletions
|
@ -186,7 +186,7 @@ void ColumnDescription::render (
|
|||
{
|
||||
for (auto& i : annos)
|
||||
{
|
||||
ISO8601d dt (strtol (i.first.substr (11).c_str (), NULL, 10));
|
||||
ISO8601d dt (static_cast <time_t> (std::stoul (i.first.substr (11))));
|
||||
description += "\n" + std::string (_indent, ' ') + dt.toString (_dateformat) + " " + i.second;
|
||||
}
|
||||
}
|
||||
|
@ -217,7 +217,7 @@ void ColumnDescription::render (
|
|||
{
|
||||
for (auto& i : annos)
|
||||
{
|
||||
ISO8601d dt (strtol (i.first.substr (11).c_str (), NULL, 10));
|
||||
ISO8601d dt (static_cast <time_t> (std::stoul (i.first.substr (11))));
|
||||
description += " " + dt.toString (_dateformat) + " " + i.second;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue