mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed time display bug in displaymenurecordings
This commit is contained in:
parent
5dbe3d8eb3
commit
71fa86f1cc
3
HISTORY
3
HISTORY
@ -312,3 +312,6 @@ Version 0.4.4
|
||||
- expanded shifting features
|
||||
|
||||
Version 0.4.5
|
||||
|
||||
- added {numtimers} Token to lastrecordings viewelement
|
||||
- fixed time display bug in displaymenurecordings
|
||||
|
@ -769,6 +769,8 @@ void cDisplayMenuItemRecordingView::SetTokens(void) {
|
||||
}
|
||||
|
||||
time_t startTime = event->StartTime();
|
||||
if (!startTime)
|
||||
startTime = usedRecording->Start();
|
||||
struct tm * sStartTime = localtime(&startTime);
|
||||
intTokens.insert(pair<string, int>("year", sStartTime->tm_year + 1900));
|
||||
intTokens.insert(pair<string, int>("daynumeric", sStartTime->tm_mday));
|
||||
|
Loading…
x
Reference in New Issue
Block a user