From 735df57886b042ff3edc65a01b808476f7e20401 Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Mon, 11 Jun 2007 23:14:27 +0000 Subject: - Additional fixes for better styleability. Set class 'bottomrow' on table cells which are followed by a spacer line. --- timers.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'timers.cpp') diff --git a/timers.cpp b/timers.cpp index 6b03f10..2a9aafd 100644 --- a/timers.cpp +++ b/timers.cpp @@ -75,6 +75,18 @@ void SortedTimers::ReloadTimers( bool initial ) sort(); } +string SortedTimers::GetTimerDays(cTimer const& timer) +{ + string currentDay = timer.WeekDays() > 0 ? +#if VDRVERSNUM < 10503 + *cTimer::PrintDay(0, timer.WeekDays()) : +#else + *cTimer::PrintDay(0, timer.WeekDays(), true) : +#endif + FormatDateTime(tr("%A, %x"), timer.Day()); + return currentDay; +} + TimerManager::TimerManager() { } -- cgit v1.2.3