Closed BenjaminVadant closed 7 years ago
Unfortunately, as the MDN documentation specifically notes, "The format of the return value may vary according to the platform. The most common return value is a RFC-1123...". The ECMAscript spec does not require implementations to make this method return the RFC1123 format, and quite a few do not. As a result I really would rather not have us rely on it (since it can also be changed by e.g. V8 at any time)
jsprim was only used for one call of a function now broadly supported https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Objets_globaux/Date/toUTCString