mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Variant
- Can now convert type_string to type_date via legacy dateformat, provided that Context transmits the format.
This commit is contained in:
parent
f585f31d69
commit
52eaf3f9c2
4 changed files with 17 additions and 2 deletions
|
@ -37,6 +37,7 @@
|
|||
#include <Directory.h>
|
||||
#include <File.h>
|
||||
#include <Eval.h>
|
||||
#include <Variant.h>
|
||||
#include <text.h>
|
||||
#include <util.h>
|
||||
#include <main.h>
|
||||
|
@ -639,6 +640,8 @@ void Context::staticInitialization ()
|
|||
var->substr (0, 12) == "urgency.uda.")
|
||||
Task::coefficients[*var] = config.getReal (*var);
|
||||
}
|
||||
|
||||
Variant::dateFormat = config.get ("dateformat");
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue