mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 22:47:20 +02:00
Date
- Removed unused list of obsolete relative dates.
This commit is contained in:
parent
79fd38d3a8
commit
4a931868c1
1 changed files with 0 additions and 40 deletions
40
src/Date.cpp
40
src/Date.cpp
|
@ -41,46 +41,6 @@
|
||||||
#include <i18n.h>
|
#include <i18n.h>
|
||||||
#include <Context.h>
|
#include <Context.h>
|
||||||
|
|
||||||
static const char* relatives[] =
|
|
||||||
{
|
|
||||||
STRING_DATE_SUNDAY_LONG,
|
|
||||||
STRING_DATE_MONDAY_LONG,
|
|
||||||
STRING_DATE_TUESDAY_LONG,
|
|
||||||
STRING_DATE_WEDNESDAY_LONG,
|
|
||||||
STRING_DATE_THURSDAY_LONG,
|
|
||||||
STRING_DATE_FRIDAY_LONG,
|
|
||||||
STRING_DATE_SATURDAY_LONG,
|
|
||||||
"today",
|
|
||||||
"tomorrow",
|
|
||||||
"yesterday",
|
|
||||||
"eow",
|
|
||||||
"eoww",
|
|
||||||
"eocw",
|
|
||||||
"eocm",
|
|
||||||
"eom",
|
|
||||||
"eoq",
|
|
||||||
"eoy",
|
|
||||||
"sow",
|
|
||||||
"soww",
|
|
||||||
"socw",
|
|
||||||
"socm",
|
|
||||||
"som",
|
|
||||||
"soq",
|
|
||||||
"soy",
|
|
||||||
"goodfriday",
|
|
||||||
"easter",
|
|
||||||
"eastermonday",
|
|
||||||
"ascension",
|
|
||||||
"pentecost",
|
|
||||||
"midsommar",
|
|
||||||
"midsommarafton",
|
|
||||||
"now",
|
|
||||||
"later",
|
|
||||||
"someday",
|
|
||||||
};
|
|
||||||
|
|
||||||
#define NUM_RELATIVES (sizeof (relatives) / sizeof (relatives[0]))
|
|
||||||
|
|
||||||
extern Context context;
|
extern Context context;
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue