Changeset 1326 in webkit for trunk/JavaScriptCore/kjs/date_object.cpp
- Timestamp:
- Jun 10, 2002, 1:08:04 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/date_object.cpp
r1024 r1326 77 77 @begin dateTable 61 78 78 toString DateProtoFuncImp::ToString DontEnum|Function 0 79 toUTCString -DateProtoFuncImp::ToString DontEnum|Function 079 toUTCString DateProtoFuncImp::ToUTCString DontEnum|Function 0 80 80 toDateString DateProtoFuncImp::ToDateString DontEnum|Function 0 81 81 toTimeString DateProtoFuncImp::ToTimeString DontEnum|Function 0 … … 196 196 case ToTimeString: 197 197 case ToGMTString: 198 case ToUTCString: 198 199 setlocale(LC_TIME,"C"); 199 200 if (id == DateProtoFuncImp::ToDateString) { … … 201 202 } else if (id == DateProtoFuncImp::ToTimeString) { 202 203 strftime(timebuffer, bufsize, "%X",t); 203 } else { 204 } else { // toGMTString & toUTCString 204 205 t = gmtime(&tv); 205 strftime(timebuffer, bufsize, "%a, %d -%b-%y%H:%M:%S %Z", t);206 strftime(timebuffer, bufsize, "%a, %d %b %Y %H:%M:%S %Z", t); 206 207 } 207 208 setlocale(LC_TIME,oldlocale.c_str());
Note:
See TracChangeset
for help on using the changeset viewer.