mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 10:07:19 +02:00
Config - defaults
- Implemented replacement Config::get* methods. - Replaced all calls throughout the code, with the new methods which have no static values as defaults.
This commit is contained in:
parent
0faf7fa8ee
commit
cb821c2a25
16 changed files with 234 additions and 265 deletions
|
@ -589,7 +589,7 @@ std::string renderAttribute (const std::string& name, const std::string& value)
|
|||
if (a.type (name) == "date")
|
||||
{
|
||||
Date d ((time_t)::atoi (value.c_str ()));
|
||||
return d.toString (context.config.get ("dateformat", "m/d/Y"));
|
||||
return d.toString (context.config.get ("dateformat"));
|
||||
}
|
||||
|
||||
return value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue