summaryrefslogtreecommitdiff
path: root/timers.cpp
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-06-11 23:14:27 +0000
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-06-11 23:14:27 +0000
commit735df57886b042ff3edc65a01b808476f7e20401 (patch)
tree4412a3acb001dda4264d260f95141e0a52b9ea5a /timers.cpp
parent0a6f5eebc80a0301119ae16e79ba08814e748f77 (diff)
downloadvdr-plugin-live-735df57886b042ff3edc65a01b808476f7e20401.tar.gz
vdr-plugin-live-735df57886b042ff3edc65a01b808476f7e20401.tar.bz2
- Additional fixes for better styleability. Set class 'bottomrow' on
table cells which are followed by a spacer line.
Diffstat (limited to 'timers.cpp')
-rw-r--r--timers.cpp12
1 files changed, 12 insertions, 0 deletions
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()
{
}