Closed Bug 1444034 Opened 7 years ago Closed 7 years ago

Formatting dates in a specific format not very easy.

Categories

(Core :: JavaScript: Standard Library, defect, P5)

All
Other
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: agnar.renolen, Unassigned)

References

()

Details

:: Developer Documentation Request Request Type: Correction Gecko Version: unspecified Technical Contact: :: Details Just need to share my state of frustration after the Date.toLocaleFormat() method dissappeared. What were you thinking when you made it so difficult for me as a developer to format a date like this "28-10-2018". I need it, not because I'm presenting it to the end user, but to input it as an argument to a 3rd party function. I guess I'm not the only one that needs this. Debugging and correcting my program took me 3 hours of uneccessary work... A programming language should make it easy for the developer to do common tasks like this, not hard. Would you please reintroduce a format function to the Date class?
Component: General → JavaScript: Standard Library
Product: Developer Documentation → Core
New features to JavaScript should now be proposed to TC39 [1] before being implemented in SpiderMonkey, therefore closing as Invalid. [1] https://github.com/tc39/proposals/blob/master/CONTRIBUTING.md
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.