Changeset 16855 in webkit for trunk/JavaScriptCore/kjs/date_object.cpp
- Timestamp:
- Oct 6, 2006, 11:16:38 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/date_object.cpp
r16798 r16855 70 70 #if PLATFORM(WIN_OS) 71 71 // Time is supposed to be in the current timezone. 72 static int utcOffset = static_cast<int>(getUTCOffset()/1000.0); 73 return utcOffset; 72 return -(_timezone / 60 - (t.tm_isdst != 0 ? 60 : 0 )) * 60; 74 73 #else 75 74 return t.tm_gmtoff;
Note:
See TracChangeset
for help on using the changeset viewer.