Changeset 698 for branches/0.6-stable
- Timestamp:
- Nov 18, 2008, 4:57:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.6-stable/lib/Date.cc
r685 r698 117 117 std::stringstream sstream(str); 118 118 struct tm* timeinfo = std::localtime(&time_); 119 time_t timezone_correction = timeinfo->tm_gmtoff; 119 120 120 121 unsigned int year, month, day, hour, minute, second; … … 145 146 146 147 time_ = mktime(timeinfo); 147 time_ += time info->tm_gmtoff;148 time_ += timezone_correction; 148 149 } 149 150
Note: See TracChangeset
for help on using the changeset viewer.