Ie doesn't parse long years at all. When I wrote the original code the
makeDate functions didn't work with small years (or for some unknown stupid
reason) I wrote the string parsing inside... Stupid idea.
On Dec 27, 2013 9:12 PM, "Isaac Cambron" <notifications@github.com> wrote:

> In moment.js:
>
> > @@ -1497,11 +1497,7 @@
> >
> >      //http://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
> >      function dayOfYearFromWeeks(year, week, weekday, firstDayOfWeekOfYear, firstDayOfWeek) {
> > -        // The only solid way to create an iso date from year is to use
> > -        // a string format (Date.UTC handles only years > 1900). Don't ask why
> > -        // it doesn't need Z at the end.
> > -        var d = new Date(leftZeroFill(year, 6, true) + '-01-01').getUTCDay(),
> > -            daysToAdd, dayOfYear;
> > +        var d = makeUTCDate(year, 0, 1).getUTCDay(), daysToAdd, dayOfYear;
>
> what happened here?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/moment/moment/pull/1374/files#r8575464>
> .
>