Changeset 15740
- Timestamp:
- 05/16/12 21:07:21 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/httpdfunc.h
r15345 r15740 2268 2268 loctime = olocaltime(&node->begin); 2269 2269 tmpstr = strptime(begin, "%H:%M+%d-%m-%Y", loctime); 2270 if(tmpstr != NULL) 2270 if(tmpstr != NULL) { 2271 loctime->tm_isdst = -1; 2271 2272 node->begin = mktime(loctime); 2273 } 2272 2274 node->begin -= (node->begin % 60); 2273 2275 tmpstr = NULL; … … 2276 2278 loctime = olocaltime(&node->end); 2277 2279 tmpstr = strptime(end, "%H:%M+%d-%m-%Y", loctime); 2278 if(tmpstr != NULL) 2280 if(tmpstr != NULL) { 2281 loctime->tm_isdst = -1; 2279 2282 node->end = mktime(loctime); 2283 } 2280 2284 node->end -= (node->end % 60); 2281 2285 tmpstr = NULL;
Note: See TracChangeset
for help on using the changeset viewer.