Changeset 217771 in webkit for trunk/Source/JavaScriptCore/runtime/DateConversion.cpp
- Timestamp:
- Jun 4, 2017, 9:38:39 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/DateConversion.cpp
r216187 r217771 33 33 #if OS(WINDOWS) 34 34 #include <windows.h> 35 #include <wtf/text/win/WCharStringExtras.h> 35 36 #endif 36 37 … … 109 110 GetTimeZoneInformation(&timeZoneInformation); 110 111 const WCHAR* winTimeZoneName = t.isDST() ? timeZoneInformation.DaylightName : timeZoneInformation.StandardName; 111 String timeZoneName (reinterpret_cast<const UChar*>(winTimeZoneName));112 String timeZoneName = nullTerminatedWCharToString(winTimeZoneName); 112 113 #else 113 114 struct tm gtm = t;
Note:
See TracChangeset
for help on using the changeset viewer.