« Bugzilla Issues Index

#267 — Date toString should specify result for "invalid dates" says the result of Date.prototype.toString is an implementation-defined string. However, all browser implementations appear to return the string "Invalid Date" for Date objects whose time value is NaN.

This result should be specified.

Open issue: Do implementations every localize this string? Is that acceptable or should the literal text "Invalid Date" be required.