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

RESOLVED FIXED

Status

()

Core
JavaScript Engine
P3
trivial
RESOLVED FIXED
18 years ago
16 years ago

People

(Reporter: Mike McCabe, Assigned: Mike McCabe)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

18 years ago
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.)

Comment 1

18 years ago
Will add testcase for this -
(Assignee)

Updated

18 years ago
Summary: Small conformance bug with spider monkey → ecma conformance: Date.p.toUTCString != Date.p.toGMTString
(Assignee)

Comment 2

18 years ago
Created attachment 19843 [details] [diff] [review]
alias toGMTString to toUTCString
(Assignee)

Comment 3

18 years ago
One line (almost) fix.

r?  Adding reviewers.

Comment 4

18 years ago
r=rogerl
(Assignee)

Comment 5

18 years ago
Fix checked in.  Thanks for the swift review!
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.