timrwood/moment — Issue #79: invalid parse if not using separator
Author: anmaso
Created: 2011-11-22 12:56:08+00:00
State: open

I'm getting this:

moment('15112011', 'DDMMYYYY').year() == 43275

using any separator, it works

moment('15/11/2011', 'DD/MM/YYYY').year() == 2011