timrwood/moment — Issue #114: Parsing twitter date string gives wrong result
Author: manuelgeoffray
Created: 2011-12-23 09:55:52+00:00
State: open

Using Twitter API, you can retrieve the created_at attribute of a tweet, ie.

Tue Dec 20 11:08:50 +0000 2011

Trying to parse it with Moment :

moment("Tue Dec 20 11:08:50 +0000 2011", "ddd MMM DD HH:mm:ss ZZ YYYY")

I get this result: Sat Nov 10 1900 02:33:31 GMT+0100 (CET).

I saw on previous issue, that un-separated strings are not supported at this time, but this one has everything separated.