summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-11-03 15:00:12 +0100
committerlouis <louis.braun@gmx.de>2013-11-03 15:00:12 +0100
commit86f36f2928bd1e2a4d8d5a09ba6c0400b5f97746 (patch)
treea638fd1e7a01c408fa16253958d5d07edf1b1638
parent48315143f433b08b9f9cf56947b84a3293031b68 (diff)
downloadskin-nopacity-86f36f2928bd1e2a4d8d5a09ba6c0400b5f97746.tar.gz
skin-nopacity-86f36f2928bd1e2a4d8d5a09ba6c0400b5f97746.tar.bz2
Added complete date for events longer than one day in the future in schedules menu
-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();