diff options
Diffstat (limited to 'timers.cpp')
-rw-r--r-- | timers.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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() { } |