This project is archived and is in readonly mode.

#1127 ✓invalid
Jocafa

Date.toISOString with MooTools More

Reported by Jocafa | December 28th, 2010 @ 06:42 AM

new Date(1293517924670).toISOString();
without MooTools More: "2010-12-28T06:32:04.670Z"
with MooTools More: "2010-12-27T23:32:04T"

It looks like the problem is in the formats.iso8601 string. It ends with '%T', and yet there's no formatter for %T.

As a side effect, this is causing dates to be incorrectly encoded in JSON.stringify().

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages