From 4a931868c1d996df0c3abc7b63433c0039e38dfb Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 5 Jul 2014 12:03:29 -0400 Subject: [PATCH] Date - Removed unused list of obsolete relative dates. --- src/Date.cpp | 40 ---------------------------------------- 1 file changed, 40 deletions(-) diff --git a/src/Date.cpp b/src/Date.cpp index c376f3c14..88a4a4a30 100644 --- a/src/Date.cpp +++ b/src/Date.cpp @@ -41,46 +41,6 @@ #include #include -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; ////////////////////////////////////////////////////////////////////////////////