From 67b9d9a219f84a41e7043d1f707ca1960be2689a Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Tue, 30 Oct 2018 23:30:31 -0400 Subject: [PATCH] [locale] fix comment about "doy" (#4671) * fix date of year comments * [locale] fix date of year comments --- src/lib/units/week.js | 2 +- src/locale/ar-dz.js | 2 +- src/locale/ar-kw.js | 2 +- src/locale/ar-ly.js | 2 +- src/locale/ar-ma.js | 2 +- src/locale/ar-sa.js | 2 +- src/locale/ar.js | 2 +- src/locale/az.js | 2 +- src/locale/be.js | 2 +- src/locale/bg.js | 2 +- src/locale/bn.js | 2 +- src/locale/bo.js | 2 +- src/locale/bs.js | 2 +- src/locale/cv.js | 2 +- src/locale/dv.js | 2 +- src/locale/eo.js | 2 +- src/locale/es-us.js | 2 +- src/locale/eu.js | 2 +- src/locale/fa.js | 2 +- src/locale/gu.js | 2 +- src/locale/hi.js | 2 +- src/locale/hr.js | 2 +- src/locale/hy-am.js | 2 +- src/locale/id.js | 2 +- src/locale/jv.js | 2 +- src/locale/kk.js | 2 +- src/locale/kn.js | 2 +- src/locale/ky.js | 2 +- src/locale/me.js | 2 +- src/locale/mk.js | 2 +- src/locale/mr.js | 2 +- src/locale/ms-my.js | 2 +- src/locale/ms.js | 2 +- src/locale/my.js | 2 +- src/locale/ne.js | 2 +- src/locale/pa-in.js | 2 +- src/locale/ro.js | 2 +- src/locale/sl.js | 2 +- src/locale/sr-cyrl.js | 2 +- src/locale/sr.js | 2 +- src/locale/sw.js | 2 +- src/locale/ta.js | 2 +- src/locale/te.js | 2 +- src/locale/tr.js | 2 +- src/locale/tzm-latn.js | 2 +- src/locale/tzm.js | 2 +- src/locale/uk.js | 2 +- src/locale/uz-latn.js | 2 +- 48 files changed, 48 insertions(+), 48 deletions(-) diff --git a/src/lib/units/week.js b/src/lib/units/week.js index da64ffef32..fbb669eafa 100644 --- a/src/lib/units/week.js +++ b/src/lib/units/week.js @@ -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 () { diff --git a/src/locale/ar-dz.js b/src/locale/ar-dz.js index f01a30d57d..b485b5a781 100644 --- a/src/locale/ar-dz.js +++ b/src/locale/ar-dz.js @@ -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. } }); diff --git a/src/locale/ar-kw.js b/src/locale/ar-kw.js index 684abb738d..90df0edb7c 100644 --- a/src/locale/ar-kw.js +++ b/src/locale/ar-kw.js @@ -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. } }); diff --git a/src/locale/ar-ly.js b/src/locale/ar-ly.js index b6b5002099..77fe8d86ea 100644 --- a/src/locale/ar-ly.js +++ b/src/locale/ar-ly.js @@ -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. } }); diff --git a/src/locale/ar-ma.js b/src/locale/ar-ma.js index b1af907bf6..fa99b0783c 100644 --- a/src/locale/ar-ma.js +++ b/src/locale/ar-ma.js @@ -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. } }); diff --git a/src/locale/ar-sa.js b/src/locale/ar-sa.js index 65ba6a1c89..129c367b3c 100644 --- a/src/locale/ar-sa.js +++ b/src/locale/ar-sa.js @@ -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. } }); diff --git a/src/locale/ar.js b/src/locale/ar.js index 92f368d188..bbae8d5e8d 100644 --- a/src/locale/ar.js +++ b/src/locale/ar.js @@ -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. } }); diff --git a/src/locale/az.js b/src/locale/az.js index 4fea428f7d..09acef76b5 100644 --- a/src/locale/az.js +++ b/src/locale/az.js @@ -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. } }); diff --git a/src/locale/be.js b/src/locale/be.js index e106f241c1..e163c01b01 100644 --- a/src/locale/be.js +++ b/src/locale/be.js @@ -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. } }); diff --git a/src/locale/bg.js b/src/locale/bg.js index 5ce4dca504..ebe9a903e6 100644 --- a/src/locale/bg.js +++ b/src/locale/bg.js @@ -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. } }); diff --git a/src/locale/bn.js b/src/locale/bn.js index a859a23a5b..b0db27ebd2 100644 --- a/src/locale/bn.js +++ b/src/locale/bn.js @@ -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. } }); diff --git a/src/locale/bo.js b/src/locale/bo.js index a536d482f7..b4a04be05b 100644 --- a/src/locale/bo.js +++ b/src/locale/bo.js @@ -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. } }); diff --git a/src/locale/bs.js b/src/locale/bs.js index f605c4d6df..8a0f640df8 100644 --- a/src/locale/bs.js +++ b/src/locale/bs.js @@ -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. } }); diff --git a/src/locale/cv.js b/src/locale/cv.js index d97d4d92c7..2443f0aaa9 100644 --- a/src/locale/cv.js +++ b/src/locale/cv.js @@ -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. } }); diff --git a/src/locale/dv.js b/src/locale/dv.js index 3268843ca1..67c40be3b1 100644 --- a/src/locale/dv.js +++ b/src/locale/dv.js @@ -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. } }); diff --git a/src/locale/eo.js b/src/locale/eo.js index 66c1ac06e0..0345d8c29c 100644 --- a/src/locale/eo.js +++ b/src/locale/eo.js @@ -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. } }); diff --git a/src/locale/es-us.js b/src/locale/es-us.js index 9fa1460fea..bc6b57c07b 100644 --- a/src/locale/es-us.js +++ b/src/locale/es-us.js @@ -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. } }); diff --git a/src/locale/eu.js b/src/locale/eu.js index d544788039..d7658de632 100644 --- a/src/locale/eu.js +++ b/src/locale/eu.js @@ -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. } }); diff --git a/src/locale/fa.js b/src/locale/fa.js index cf503c1596..0d377a5d64 100644 --- a/src/locale/fa.js +++ b/src/locale/fa.js @@ -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. } }); diff --git a/src/locale/gu.js b/src/locale/gu.js index ecde951f02..af91dfc384 100644 --- a/src/locale/gu.js +++ b/src/locale/gu.js @@ -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. } }); diff --git a/src/locale/hi.js b/src/locale/hi.js index f3471600fb..0ac41faf08 100644 --- a/src/locale/hi.js +++ b/src/locale/hi.js @@ -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. } }); diff --git a/src/locale/hr.js b/src/locale/hr.js index aa3b853389..188b8c3a55 100644 --- a/src/locale/hr.js +++ b/src/locale/hr.js @@ -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. } }); diff --git a/src/locale/hy-am.js b/src/locale/hy-am.js index 1918a57a04..6fd533b0c7 100644 --- a/src/locale/hy-am.js +++ b/src/locale/hy-am.js @@ -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. } }); diff --git a/src/locale/id.js b/src/locale/id.js index 52b1ccc08a..9fa7bffad5 100644 --- a/src/locale/id.js +++ b/src/locale/id.js @@ -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. } }); diff --git a/src/locale/jv.js b/src/locale/jv.js index 31fc9ad9df..f648f16806 100644 --- a/src/locale/jv.js +++ b/src/locale/jv.js @@ -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. } }); diff --git a/src/locale/kk.js b/src/locale/kk.js index 1917a9b5a3..ab79a21b1e 100644 --- a/src/locale/kk.js +++ b/src/locale/kk.js @@ -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. } }); diff --git a/src/locale/kn.js b/src/locale/kn.js index d4b65e81a4..0228e74b3c 100644 --- a/src/locale/kn.js +++ b/src/locale/kn.js @@ -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. } }); diff --git a/src/locale/ky.js b/src/locale/ky.js index aa7f1b2e89..cc53dadf92 100644 --- a/src/locale/ky.js +++ b/src/locale/ky.js @@ -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. } }); diff --git a/src/locale/me.js b/src/locale/me.js index 120c997d13..b42e9c8037 100644 --- a/src/locale/me.js +++ b/src/locale/me.js @@ -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. } }); diff --git a/src/locale/mk.js b/src/locale/mk.js index 6d6e0b40a0..701ab6554a 100644 --- a/src/locale/mk.js +++ b/src/locale/mk.js @@ -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. } }); diff --git a/src/locale/mr.js b/src/locale/mr.js index 415644ad37..8086ba281d 100644 --- a/src/locale/mr.js +++ b/src/locale/mr.js @@ -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. } }); diff --git a/src/locale/ms-my.js b/src/locale/ms-my.js index 03fcaa9fa6..bd255aed54 100644 --- a/src/locale/ms-my.js +++ b/src/locale/ms-my.js @@ -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. } }); diff --git a/src/locale/ms.js b/src/locale/ms.js index 9f691472ed..83ad1ac132 100644 --- a/src/locale/ms.js +++ b/src/locale/ms.js @@ -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. } }); diff --git a/src/locale/my.js b/src/locale/my.js index 7e98f7f667..b2ba866440 100644 --- a/src/locale/my.js +++ b/src/locale/my.js @@ -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. } }); diff --git a/src/locale/ne.js b/src/locale/ne.js index 841198d144..38e5e821b7 100644 --- a/src/locale/ne.js +++ b/src/locale/ne.js @@ -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. } }); diff --git a/src/locale/pa-in.js b/src/locale/pa-in.js index 6b85350943..89c83f6c85 100644 --- a/src/locale/pa-in.js +++ b/src/locale/pa-in.js @@ -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. } }); diff --git a/src/locale/ro.js b/src/locale/ro.js index af621d5104..2d4f19e782 100644 --- a/src/locale/ro.js +++ b/src/locale/ro.js @@ -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. } }); diff --git a/src/locale/sl.js b/src/locale/sl.js index 8ece81bfa4..0012e15a57 100644 --- a/src/locale/sl.js +++ b/src/locale/sl.js @@ -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. } }); diff --git a/src/locale/sr-cyrl.js b/src/locale/sr-cyrl.js index fc10aee7e5..3b9a573454 100644 --- a/src/locale/sr-cyrl.js +++ b/src/locale/sr-cyrl.js @@ -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. } }); diff --git a/src/locale/sr.js b/src/locale/sr.js index 2118262d69..12c3f2467a 100644 --- a/src/locale/sr.js +++ b/src/locale/sr.js @@ -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. } }); diff --git a/src/locale/sw.js b/src/locale/sw.js index 833de80c76..ec1e54366c 100644 --- a/src/locale/sw.js +++ b/src/locale/sw.js @@ -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. } }); diff --git a/src/locale/ta.js b/src/locale/ta.js index 9969cb5c5d..5d3d921209 100644 --- a/src/locale/ta.js +++ b/src/locale/ta.js @@ -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. } }); diff --git a/src/locale/te.js b/src/locale/te.js index 8fd276744f..03f548b221 100644 --- a/src/locale/te.js +++ b/src/locale/te.js @@ -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. } }); diff --git a/src/locale/tr.js b/src/locale/tr.js index b5e8ad79c0..1eaa700d5e 100644 --- a/src/locale/tr.js +++ b/src/locale/tr.js @@ -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. } }); diff --git a/src/locale/tzm-latn.js b/src/locale/tzm-latn.js index 23d2efaa3b..6adf550485 100644 --- a/src/locale/tzm-latn.js +++ b/src/locale/tzm-latn.js @@ -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. } }); diff --git a/src/locale/tzm.js b/src/locale/tzm.js index 04c1954bf2..ae7651d785 100644 --- a/src/locale/tzm.js +++ b/src/locale/tzm.js @@ -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. } }); diff --git a/src/locale/uk.js b/src/locale/uk.js index 889e017ac4..83e5b71caf 100644 --- a/src/locale/uk.js +++ b/src/locale/uk.js @@ -138,7 +138,7 @@ export default moment.defineLocale('uk', { }, 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. } }); diff --git a/src/locale/uz-latn.js b/src/locale/uz-latn.js index 2ba7ea67b1..7dda237326 100644 --- a/src/locale/uz-latn.js +++ b/src/locale/uz-latn.js @@ -44,7 +44,7 @@ export default moment.defineLocale('uz-latn', { }, 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. } });