mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added the year (two digits) to recording dates in LSTR, and thus also in menus
This commit is contained in:
parent
f4c63964a8
commit
c1055a6c8f
@ -714,6 +714,7 @@ Jan Ekholm <chakie@infa.abo.fi>
|
|||||||
for reporting a compiler warning in g++ 3.2.3 regarding cReplayControl::Show()
|
for reporting a compiler warning in g++ 3.2.3 regarding cReplayControl::Show()
|
||||||
for reporting and helping to debug a problem in frequency handling when setting
|
for reporting and helping to debug a problem in frequency handling when setting
|
||||||
the CA descriptors in cDvbTuner::Action()
|
the CA descriptors in cDvbTuner::Action()
|
||||||
|
for suggesting to add the year to recording dates in LSTR
|
||||||
|
|
||||||
Marcel Wiesweg <marcel.wiesweg@gmx.de>
|
Marcel Wiesweg <marcel.wiesweg@gmx.de>
|
||||||
for pointing out a problem with high CPU load during replay
|
for pointing out a problem with high CPU load during replay
|
||||||
|
2
HISTORY
2
HISTORY
@ -3591,3 +3591,5 @@ Video Disk Recorder Revision History
|
|||||||
to Rolf Ahrenberg).
|
to Rolf Ahrenberg).
|
||||||
- A device can now detach all receivers for a given PID, as is necessary, e.g.,
|
- A device can now detach all receivers for a given PID, as is necessary, e.g.,
|
||||||
for the bitstreamout plugin (thanks to Werner Fink).
|
for the bitstreamout plugin (thanks to Werner Fink).
|
||||||
|
- Added the year (two digits) to recording dates in LSTR, and thus also in menus
|
||||||
|
(suggested by Jan Ekholm).
|
||||||
|
4
menu.c
4
menu.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: menu.c 1.349 2005/05/16 13:59:03 kls Exp $
|
* $Id: menu.c 1.350 2005/06/05 14:11:54 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
@ -1537,7 +1537,7 @@ void cMenuRecordingItem::IncrementCounter(bool New)
|
|||||||
int cMenuRecordings::helpKeys = -1;
|
int cMenuRecordings::helpKeys = -1;
|
||||||
|
|
||||||
cMenuRecordings::cMenuRecordings(const char *Base, int Level, bool OpenSubMenus)
|
cMenuRecordings::cMenuRecordings(const char *Base, int Level, bool OpenSubMenus)
|
||||||
:cOsdMenu(Base ? Base : tr("Recordings"), 6, 6)
|
:cOsdMenu(Base ? Base : tr("Recordings"), 8, 6)
|
||||||
{
|
{
|
||||||
base = Base ? strdup(Base) : NULL;
|
base = Base ? strdup(Base) : NULL;
|
||||||
level = Setup.RecordingDirs ? Level : -1;
|
level = Setup.RecordingDirs ? Level : -1;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: recording.c 1.108 2005/06/04 11:31:24 kls Exp $
|
* $Id: recording.c 1.109 2005/06/05 14:11:45 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "recording.h"
|
#include "recording.h"
|
||||||
@ -593,9 +593,10 @@ const char *cRecording::Title(char Delimiter, bool NewIndicator, int Level) cons
|
|||||||
s++;
|
s++;
|
||||||
else
|
else
|
||||||
s = name;
|
s = name;
|
||||||
asprintf(&titleBuffer, "%02d.%02d%c%02d:%02d%c%c%s",
|
asprintf(&titleBuffer, "%02d.%02d.%02d%c%02d:%02d%c%c%s",
|
||||||
t->tm_mday,
|
t->tm_mday,
|
||||||
t->tm_mon + 1,
|
t->tm_mon + 1,
|
||||||
|
t->tm_year % 100,
|
||||||
Delimiter,
|
Delimiter,
|
||||||
t->tm_hour,
|
t->tm_hour,
|
||||||
t->tm_min,
|
t->tm_min,
|
||||||
|
Loading…
Reference in New Issue
Block a user