mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- Wrong include.
This commit is contained in:
parent
b63e92b540
commit
44e6b27560
1 changed files with 2 additions and 1 deletions
|
@ -28,6 +28,7 @@
|
|||
#include <string>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
#include <stdlib.h>
|
||||
#include <inttypes.h>
|
||||
#include <Att.h>
|
||||
#include <Context.h>
|
||||
|
@ -280,7 +281,7 @@ std::string renderAttribute (const std::string& name, const std::string& value)
|
|||
if (a.type (name) == "date" &&
|
||||
value != "")
|
||||
{
|
||||
Date d ((time_t)::strtol (value.c_str (), NULL, 10));
|
||||
Date d ((time_t)strtol (value.c_str (), NULL, 10));
|
||||
return d.toString (context.config.get ("dateformat"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue