Skip to content

Commit

Permalink
[locale] fix comment about "doy" (moment#4671)
Browse files Browse the repository at this point in the history
* fix date of year comments

* [locale] fix date of year comments
  • Loading branch information
jsoref authored and marwahaha committed Oct 31, 2018
1 parent c434a65 commit 67b9d9a
Show file tree
Hide file tree
Showing 48 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion src/lib/units/week.js
Expand Up @@ -43,7 +43,7 @@ export function localeWeek (mom) {

export var defaultLocaleWeek = {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
};

export function localeFirstDayOfWeek () {
Expand Down
2 changes: 1 addition & 1 deletion src/locale/ar-dz.js
Expand Up @@ -45,7 +45,7 @@ export default moment.defineLocale('ar-dz', {
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 4 // The week that contains Jan 1st is the first week of the year.
doy : 4 // The week that contains Jan 4th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/ar-kw.js
Expand Up @@ -45,6 +45,6 @@ export default moment.defineLocale('ar-kw', {
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 12 // The week that contains Jan 1st is the first week of the year.
doy : 12 // The week that contains Jan 12th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/ar-ly.js
Expand Up @@ -108,6 +108,6 @@ export default moment.defineLocale('ar-ly', {
},
week : {
dow : 6, // Saturday is the first day of the week.
doy : 12 // The week that contains Jan 1st is the first week of the year.
doy : 12 // The week that contains Jan 12th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/ar-ma.js
Expand Up @@ -46,7 +46,7 @@ export default moment.defineLocale('ar-ma', {
},
week : {
dow : 6, // Saturday is the first day of the week.
doy : 12 // The week that contains Jan 1st is the first week of the year.
doy : 12 // The week that contains Jan 12th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/ar-sa.js
Expand Up @@ -90,7 +90,7 @@ export default moment.defineLocale('ar-sa', {
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/ar.js
Expand Up @@ -123,6 +123,6 @@ export default moment.defineLocale('ar', {
},
week : {
dow : 6, // Saturday is the first day of the week.
doy : 12 // The week that contains Jan 1st is the first week of the year.
doy : 12 // The week that contains Jan 12th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/az.js
Expand Up @@ -91,7 +91,7 @@ export default moment.defineLocale('az', {
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/be.js
Expand Up @@ -120,7 +120,7 @@ export default moment.defineLocale('be', {
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/bg.js
Expand Up @@ -76,7 +76,7 @@ export default moment.defineLocale('bg', {
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/bn.js
Expand Up @@ -105,6 +105,6 @@ export default moment.defineLocale('bn', {
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/bo.js
Expand Up @@ -105,7 +105,7 @@ export default moment.defineLocale('bo', {
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/bs.js
Expand Up @@ -138,6 +138,6 @@ export default moment.defineLocale('bs', {
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/cv.js
Expand Up @@ -49,6 +49,6 @@ export default moment.defineLocale('cv', {
ordinal : '%d-мӗш',
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/dv.js
Expand Up @@ -85,6 +85,6 @@ export default moment.defineLocale('dv', {
},
week : {
dow : 7, // Sunday is the first day of the week.
doy : 12 // The week that contains Jan 1st is the first week of the year.
doy : 12 // The week that contains Jan 12th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/eo.js
Expand Up @@ -59,7 +59,7 @@ export default moment.defineLocale('eo', {
ordinal : '%da',
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/es-us.js
Expand Up @@ -69,6 +69,6 @@ export default moment.defineLocale('es-us', {
ordinal : '%dº',
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/eu.js
Expand Up @@ -52,7 +52,7 @@ export default moment.defineLocale('eu', {
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/fa.js
Expand Up @@ -92,7 +92,7 @@ export default moment.defineLocale('fa', {
ordinal : '%dم',
week : {
dow : 6, // Saturday is the first day of the week.
doy : 12 // The week that contains Jan 1st is the first week of the year.
doy : 12 // The week that contains Jan 12th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/gu.js
Expand Up @@ -110,6 +110,6 @@ export default moment.defineLocale('gu', {
},
week: {
dow: 0, // Sunday is the first day of the week.
doy: 6 // The week that contains Jan 1st is the first week of the year.
doy: 6 // The week that contains Jan 6th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/hi.js
Expand Up @@ -110,7 +110,7 @@ export default moment.defineLocale('hi', {
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/hr.js
Expand Up @@ -140,6 +140,6 @@ export default moment.defineLocale('hr', {
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/hy-am.js
Expand Up @@ -81,7 +81,7 @@ export default moment.defineLocale('hy-am', {
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/id.js
Expand Up @@ -69,6 +69,6 @@ export default moment.defineLocale('id', {
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/jv.js
Expand Up @@ -69,6 +69,6 @@ export default moment.defineLocale('jv', {
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/kk.js
Expand Up @@ -73,6 +73,6 @@ export default moment.defineLocale('kk', {
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/kn.js
Expand Up @@ -112,6 +112,6 @@ export default moment.defineLocale('kn', {
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/ky.js
Expand Up @@ -74,6 +74,6 @@ export default moment.defineLocale('ky', {
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/me.js
Expand Up @@ -98,6 +98,6 @@ export default moment.defineLocale('me', {
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/mk.js
Expand Up @@ -76,7 +76,7 @@ export default moment.defineLocale('mk', {
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/mr.js
Expand Up @@ -147,7 +147,7 @@ export default moment.defineLocale('mr', {
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/ms-my.js
Expand Up @@ -69,7 +69,7 @@ export default moment.defineLocale('ms-my', {
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/ms.js
Expand Up @@ -68,7 +68,7 @@ export default moment.defineLocale('ms', {
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/my.js
Expand Up @@ -81,7 +81,7 @@ export default moment.defineLocale('my', {
},
week: {
dow: 1, // Monday is the first day of the week.
doy: 4 // The week that contains Jan 1st is the first week of the year.
doy: 4 // The week that contains Jan 4th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/ne.js
Expand Up @@ -109,7 +109,7 @@ export default moment.defineLocale('ne', {
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/pa-in.js
Expand Up @@ -110,7 +110,7 @@ export default moment.defineLocale('pa-in', {
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/ro.js
Expand Up @@ -62,7 +62,7 @@ export default moment.defineLocale('ro', {
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/sl.js
Expand Up @@ -159,6 +159,6 @@ export default moment.defineLocale('sl', {
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/sr-cyrl.js
Expand Up @@ -97,6 +97,6 @@ export default moment.defineLocale('sr-cyrl', {
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/sr.js
Expand Up @@ -97,6 +97,6 @@ export default moment.defineLocale('sr', {
ordinal : '%d.',
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/sw.js
Expand Up @@ -45,7 +45,7 @@ export default moment.defineLocale('sw', {
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/ta.js
Expand Up @@ -115,7 +115,7 @@ export default moment.defineLocale('ta', {
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/te.js
Expand Up @@ -75,6 +75,6 @@ export default moment.defineLocale('te', {
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 1st is the first week of the year.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});
2 changes: 1 addition & 1 deletion src/locale/tr.js
Expand Up @@ -84,7 +84,7 @@ export default moment.defineLocale('tr', {
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
doy : 7 // The week that contains Jan 7th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/tzm-latn.js
Expand Up @@ -44,7 +44,7 @@ export default moment.defineLocale('tzm-latn', {
},
week : {
dow : 6, // Saturday is the first day of the week.
doy : 12 // The week that contains Jan 1st is the first week of the year.
doy : 12 // The week that contains Jan 12th is the first week of the year.
}
});

2 changes: 1 addition & 1 deletion src/locale/tzm.js
Expand Up @@ -44,7 +44,7 @@ export default moment.defineLocale('tzm', {
},
week : {
dow : 6, // Saturday is the first day of the week.
doy : 12 // The week that contains Jan 1st is the first week of the year.
doy : 12 // The week that contains Jan 12th is the first week of the year.
}
});

0 comments on commit 67b9d9a

Please sign in to comment.