support new Date("01JAN2008")

NEW
Unassigned

Status

()

--
enhancement
10 years ago
2 years ago

People

(Reporter: BijuMailList, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

10 years ago
One of the page on our intranet which works in IE wont work in Firefox.
I raised the issue but they replied they dont support Firefox on intranet.
And insist I only use IE6.

Upon investigating I found the reason for the issue.
For "new Date(strDate)" we support formats

"1 JAN2008", "2008 JAN1", "1,JAN2008", "2008,JAN1", 
"JAN1 2008", "JAN2008 1", "JAN1,2008", "JAN2008,1"

But not "1JAN2008" and "2008JAN1" or "01JAN2008" and "2008JAN01" 
And "01JAN2008" is a common format used while doing international shipping.
Which come thru EDI file
IE support this format but not Firefox.

So can we also support new Date("01JAN2008")?

PS: 
* I wish there is also support for all ISO date formats.
* http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_thread/thread/1737443c42085a52
Summary: [RFE] support new Date("01JAN2008") → support new Date("01JAN2008")
(Assignee)

Updated

4 years ago
Assignee: general → nobody

Updated

2 years ago
Blocks: 1274354
Component: JavaScript Engine → JavaScript: Standard Library
You need to log in before you can comment on or make changes to this bug.