Changeset 503 for trunk/lib/Date.cc
- Timestamp:
- Nov 27, 2007, 1:56:57 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Date.cc
r439 r503 116 116 std::stringstream sstream(str); 117 117 struct tm* timeinfo = std::localtime(&time_); 118 size_t timezone_correction = timeinfo->tm_gmtoff; 118 119 119 120 u_int year, month, day, hour, minute, second; … … 144 145 145 146 time_ = mktime(timeinfo); 146 time_ += time info->tm_gmtoff;147 time_ += timezone_correction; 147 148 } 148 149
Note: See TracChangeset
for help on using the changeset viewer.