timrwood/moment — Issue #108: Incorrect parsing of times without separators ('20101112', etc)
Author: davidcalhoun
Created: 2011-12-17 04:17:33+00:00
State: open

This works:

```
moment('2010', 'YYYY').format('YYYY');
"2010"
```

These don't work:

```
moment('201211', 'YYYYMM').format('YYYY');
"201210"
moment('20101112', 'YYYYMMDD').format('YYYY');
"NaN"
```