Ignore:
Timestamp:
03/26/14 03:20:47 (9 years ago)
Author:
obi
Message:

fix translate date > day name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/multiepg.h

    r23286 r27944  
    100100                                        ostrftime(buf, MINMALLOC, listbox->param2, loctime);
    101101                                        tmpstr = ostrcat(tmpstr, buf, 1, 0);
     102                                        tmpstr = translate_time(tmpstr, 0);
    102103                                        tmpstr = ostrcat(tmpstr, " - ", 1, 0);
    103104                                        tmpstr = ostrcat(tmpstr, epgnode->title, 1, 0);
     105                                               
    104106                                        changetext2(chnode, tmpstr);
    105107                                        free(tmpstr); tmpstr = NULL;
     
    173175                                                ostrftime(buf, MINMALLOC, listbox->param1, loctime);
    174176                                                tmpstr = ostrcat(tmpstr, buf, 1, 0);
     177                                                tmpstr = translate_time(tmpstr, 1);
    175178
    176179                                                loctime = localtime(&epgnode->endtime);
    177180                                                ostrftime(buf, MINMALLOC, listbox->param2, loctime);
    178181                                                tmpstr = ostrcat(tmpstr, buf, 1, 0);
     182                                                tmpstr = translate_time(tmpstr, 1);
     183
    179184                                                tmpstr = ostrcat(tmpstr, " - ", 1, 0);
    180185                                                tmpstr = ostrcat(tmpstr, epgnode->title, 1, 0);
     
    241246                                                ostrftime(buf, MINMALLOC, listbox->param2, loctime);
    242247                                                tmpstr = ostrcat(tmpstr, buf, 1, 0);
     248                                                tmpstr = translate_time(tmpstr, 0);
    243249                                                tmpstr = ostrcat(tmpstr, " - ", 1, 0);
    244250                                                tmpstr = ostrcat(tmpstr, epgnode->title, 1, 0);
     
    308314                                                ostrftime(buf, MINMALLOC, listbox->param2, loctime);
    309315                                                tmpstr = ostrcat(tmpstr, buf, 1, 0);
     316                                                tmpstr = translate_time(tmpstr, 0);
    310317                                                tmpstr = ostrcat(tmpstr, " - ", 1, 0);
    311318                                                tmpstr = ostrcat(tmpstr, epgnode->title, 1, 0);
     
    371378                                                ostrftime(buf, MINMALLOC, listbox->param2, loctime);
    372379                                                tmpstr = ostrcat(tmpstr, buf, 1, 0);
     380                                                tmpstr = translate_time(tmpstr, 0);
    373381                                                tmpstr = ostrcat(tmpstr, " - ", 1, 0);
    374382                                                tmpstr = ostrcat(tmpstr, epgnode->title, 1, 0);
Note: See TracChangeset for help on using the changeset viewer.