Changeset 16798 in webkit for trunk/JavaScriptCore/kjs/DateMath.cpp
- Timestamp:
- Oct 4, 2006, 6:42:00 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/DateMath.cpp
r16795 r16798 334 334 ltime.tm_year = 70; 335 335 336 336 #if !PLATFORM(WIN_OS) 337 337 ltime.tm_zone = 0; 338 338 ltime.tm_gmtoff = 0; 339 339 #endif 340 340 341 341 utcOffset = mktime(<ime) - (hoursPerDay * secondsPerHour); … … 446 446 447 447 //everyone else seems to have these fields 448 448 #if !PLATFORM(WIN_OS) 449 449 struct tm xtm; 450 450 // FIXME: time_t has a potential problem in 2038 … … 453 453 tm.tm_gmtoff = xtm.tm_gmtoff; 454 454 tm.tm_zone = xtm.tm_zone; 455 455 #endif 456 456 } 457 457
Note:
See TracChangeset
for help on using the changeset viewer.