diff options
author | louis <louis.braun@gmx.de> | 2013-11-03 15:00:12 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-11-03 15:00:12 +0100 |
commit | 86f36f2928bd1e2a4d8d5a09ba6c0400b5f97746 (patch) | |
tree | a638fd1e7a01c408fa16253958d5d07edf1b1638 | |
parent | 48315143f433b08b9f9cf56947b84a3293031b68 (diff) | |
download | skin-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-- | HISTORY | 2 | ||||
-rw-r--r-- | menuitem.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 @@ -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(); |