mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
add weekday to date
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@144 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -906,8 +906,10 @@ void CEpgData::GetEPGData(const t_channel_id channel_id, unsigned long long id,
|
||||
}
|
||||
|
||||
struct tm *pStartZeit = localtime(&(epgData.epg_times).startzeit);
|
||||
char temp[11];
|
||||
strftime( temp, sizeof(temp), "%d.%m.%Y", pStartZeit);
|
||||
char temp[30]={0};
|
||||
int l = 0;
|
||||
l = snprintf(temp, sizeof(temp),"%s.",g_Locale->getText(CLocaleManager::getWeekday(pStartZeit)));
|
||||
strftime( temp+l, sizeof(temp)-l,"%d.%m.%Y", pStartZeit);
|
||||
epg_date= temp;
|
||||
strftime( temp, sizeof(temp), "%H:%M", pStartZeit);
|
||||
epg_start= temp;
|
||||
|
Reference in New Issue
Block a user