Changeset 15740


Ignore:
Timestamp:
05/16/12 21:07:21 (12 years ago)
Author:
gost
Message:

[titan] WebIf set EPG timer --> fix summertime bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/httpdfunc.h

    r15345 r15740  
    22682268                loctime = olocaltime(&node->begin);
    22692269                tmpstr = strptime(begin, "%H:%M+%d-%m-%Y", loctime);
    2270                 if(tmpstr != NULL)
     2270                if(tmpstr != NULL) {
     2271                        loctime->tm_isdst = -1;
    22712272                        node->begin = mktime(loctime);
     2273                }
    22722274                node->begin -= (node->begin % 60);
    22732275                tmpstr = NULL;
     
    22762278                loctime = olocaltime(&node->end);
    22772279                tmpstr = strptime(end, "%H:%M+%d-%m-%Y", loctime);
    2278                 if(tmpstr != NULL)
     2280                if(tmpstr != NULL) {
     2281                        loctime->tm_isdst = -1;
    22792282                        node->end = mktime(loctime);
     2283                }
    22802284                node->end -= (node->end % 60);
    22812285                tmpstr = NULL;
Note: See TracChangeset for help on using the changeset viewer.