|
|
| version 1.43, 2003/04/09 10:58:43 | version 1.44, 2003/04/09 11:18:33 |
|---|---|
| Line 177 static void _roll(Request& r, const Stri | Line 177 static void _roll(Request& r, const Stri |
| tmIn.tm_hour=24/2; | tmIn.tm_hour=24/2; |
| tmIn.tm_min=0; | tmIn.tm_min=0; |
| tmIn.tm_sec=0; | tmIn.tm_sec=0; |
| int saved_mon=tmIn.tm_mon; | int saved_mon=(tmIn.tm_mon+12*100)%12; // crossing year boundary backwards |
| t_changed_date=mktime/*normalizetime*/(&tmIn); | t_changed_date=mktime/*normalizetime*/(&tmIn); |
| if(t_changed_date<0) | if(t_changed_date<0) |
| throw Exception(0, | throw Exception(0, |