Changeset 17037 in webkit for trunk/JavaScriptCore
- Timestamp:
- Oct 13, 2006, 11:56:41 AM (19 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r17031 r17037 1 2006-10-13 Marvin Decker <[email protected]> 2 3 Reviewed by Kevin McCullough. 4 5 Fixes http://bugs.webkit.org/show_bug.cgi?id=11283 6 Fixes Qt/Linux and Windows build 7 8 * kjs/DateMath.cpp: 9 * kjs/DateMath.h: 10 * kjs/date_object.cpp: 11 (KJS::DateProtoFunc::callAsFunction): 12 1 13 2006-10-13 Kevin McCullough <[email protected]> 2 14 -
trunk/JavaScriptCore/kjs/DateMath.cpp
r17031 r17037 39 39 */ 40 40 41 #include <DateMath.h> 41 #include "config.h" 42 #include "DateMath.h" 42 43 43 44 #include <math.h> -
trunk/JavaScriptCore/kjs/DateMath.h
r17031 r17037 43 43 44 44 #include <time.h> 45 #include <string.h> 45 46 46 47 namespace KJS { -
trunk/JavaScriptCore/kjs/date_object.cpp
r17031 r17037 52 52 #include "error_object.h" 53 53 #include "operations.h" 54 #include <DateMath.h>54 #include "DateMath.h" 55 55 56 56 #include <wtf/MathExtras.h> … … 481 481 #else 482 482 case ToLocaleString: { 483 struct ::tm gtm = KJStmToTm(t);483 struct tm gtm = t.toTM(); 484 484 strftime(timebuffer, bufsize, "%c", >m); 485 485 return jsString(timebuffer); … … 487 487 } 488 488 case ToLocaleDateString: { 489 struct ::tm gtm = KJStmToTm(t);489 struct tm gtm = t.toTM(); 490 490 strftime(timebuffer, bufsize, "%x", >m); 491 491 return jsString(timebuffer); … … 493 493 } 494 494 case ToLocaleTimeString: { 495 struct ::tm gtm = KJStmToTm(t);495 struct tm gtm = t.toTM(); 496 496 strftime(timebuffer, bufsize, "%X", >m); 497 497 return jsString(timebuffer);
Note:
See TracChangeset
for help on using the changeset viewer.