mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Revert "Feedback: Converted from strtol to std::stoul"
This reverts commit 8f60b1f9c5
.
This commit is contained in:
parent
284330ea1d
commit
d4f6f00b29
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ std::string renderAttribute (const std::string& name, const std::string& value,
|
|||
col->type () == "date" &&
|
||||
value != "")
|
||||
{
|
||||
ISO8601d d (static_cast <time_t> (std::stoul (value)));
|
||||
ISO8601d d ((time_t)strtol (value.c_str (), NULL, 10));
|
||||
if (format == "")
|
||||
return d.toString (context.config.get ("dateformat"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue