Changeset 9924 in webkit for trunk/JavaScriptCore
- Timestamp:
- Jul 27, 2005, 12:54:18 PM (20 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r9922 r9924 1 2005-07-27 Geoffrey Garen <[email protected]> 2 3 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3381 4 Date.prototype.setDate() incorrect for values >=128 5 6 - Test cases added: 7 8 * layout-tests/fast/js/date-big-setdate-expected.txt: Added. 9 * layout-tests/fast/js/date-big-setdate.html: Added. 10 11 Reviewed by darin. 12 13 * kjs/date_object.cpp: 14 (DateProtoFuncImp::call): 15 1 16 2005-07-27 Geoffrey Garen <[email protected]> 2 17 -
trunk/JavaScriptCore/kjs/date_object.cpp
r9922 r9924 723 723 break; 724 724 case SetDate: 725 t->tm_mday = args[0].toInt32(exec); 726 break; 725 t->tm_mday = 0; 726 ms += args[0].toInt32(exec) * msPerDay; 727 break; 727 728 case SetMonth: 728 729 t->tm_mon = args[0].toInt32(exec);
Note:
See TracChangeset
for help on using the changeset viewer.