mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdNews: Add news item about multi-day holidays
This commit is contained in:
parent
0d647f0218
commit
7848d25f18
1 changed files with 22 additions and 0 deletions
|
@ -358,6 +358,28 @@ void CmdNews::version2_6_0 (std::vector<NewsItem>& items) {
|
||||||
""
|
""
|
||||||
);
|
);
|
||||||
items.push_back(exportable_reports);
|
items.push_back(exportable_reports);
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// - Multi-day holidays
|
||||||
|
|
||||||
|
NewsItem multi_holidays (
|
||||||
|
false,
|
||||||
|
"Multi-day holidays",
|
||||||
|
"",
|
||||||
|
" Holidays are currently used in 'task calendar' to visualize the workload during\n"
|
||||||
|
" the upcoming weeks/months. Up to date country-specific holiday data files can be\n"
|
||||||
|
" obtained from our website, holidata.net",
|
||||||
|
" Instead of single-day holiday entries only, Taskwarrior now supports holidays\n"
|
||||||
|
" that span a range of days (i.e. vacation).\n",
|
||||||
|
" Use a holday.<name>.start and holiday.<name>.end to configure a multi-day holiday:\n"
|
||||||
|
" \n"
|
||||||
|
" holiday.sysadmin.name=System Administrator Appreciation Week\n"
|
||||||
|
" holiday.sysadmin.start=20100730\n"
|
||||||
|
" holiday.sysadmin.end=20100805",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
);
|
||||||
|
items.push_back(multi_holidays);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue