mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Date Formats
- Fixed broken documentation for custom report definitions regarding column formats. - Modified date access to use the more efficient Date::get_date method, which also shrinks the code. - Added the 'remaining' format for all date columns.
This commit is contained in:
parent
8252095174
commit
4cc9e90362
6 changed files with 33 additions and 27 deletions
|
@ -41,12 +41,6 @@ ColumnScheduled::ColumnScheduled ()
|
|||
{
|
||||
_name = "scheduled";
|
||||
_label = STRING_COLUMN_LABEL_SCHED;
|
||||
|
||||
_styles.push_back ("countdown");
|
||||
|
||||
Date now;
|
||||
now += 125;
|
||||
_examples.push_back (Duration (now - Date ()).formatCompact ());
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue