summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--menuitem.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index d179b82..3f4e2ad 100644
--- a/HISTORY
+++ b/HISTORY
@@ -346,3 +346,5 @@ Version 0.1.4
- changed header icons to scale automatically
- Added Setup Option to generate log messages when trying to load
pictures (VDR Menu -> Common Settings)
+- Added complete date for events longer than one day in the future
+ in schedules menu
diff --git a/menuitem.c b/menuitem.c
index 078056c..e0055e5 100644
--- a/menuitem.c
+++ b/menuitem.c
@@ -464,7 +464,7 @@ void cNopacityScheduleMenuItem::CreateText() {
std::string dayNow = *WeekDayName(now);
std::string dayEvent = *WeekDayName(Event->StartTime());
if ((Event->StartTime() - now > 86400) || (dayNow != dayEvent))
- sstrDateTime << dayEvent << " ";
+ sstrDateTime << dayEvent << " " << *ShortDateString(Event->StartTime()) << " ";
sstrDateTime << *Event->GetTimeString();
sstrDateTime << " - " << *Event->GetEndTimeString();
strDateTime = sstrDateTime.str();