Closed Bug 58673 Opened 26 years ago Closed 25 years ago

ecma conformance: Date.p.toUTCString != Date.p.toGMTString

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: mike+mozilla, Assigned: mike+mozilla)

Details

Attachments

(1 file)

From ecma 262 ed. 3: B.2.6 Date.prototype.toGMTString ( ) The Function object that is the initial value of Date.prototype.toGMTString is the same Function object that is the initial value of Date.prototype.toUTCString. We miss this one: Date.prototype.toGMTString === Date.prototype.toUTCString evaluates to false in Spider Monkey. (true in Rhino.)
Will add testcase for this -
Summary: Small conformance bug with spider monkey → ecma conformance: Date.p.toUTCString != Date.p.toGMTString
One line (almost) fix. r? Adding reviewers.
r=rogerl
Fix checked in. Thanks for the swift review!
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: