summaryrefslogtreecommitdiff
path: root/timers.cpp
diff options
context:
space:
mode:
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()
{
}