diff --git a/docs/en/Plugin.md b/docs/en/Plugin.md index 506e6a992..b0f6e950f 100644 --- a/docs/en/Plugin.md +++ b/docs/en/Plugin.md @@ -291,9 +291,9 @@ dayjs('2018-06-27').week(5) // set week - WeekDay adds `.weekday()` API to get or set locale aware day of the week. ```javascript -import weekDay from 'dayjs/plugin/weekDay' +import weekday from 'dayjs/plugin/weekday' -dayjs.extend(weekDay) +dayjs.extend(weekday) // when Monday is the first day of the week dayjs().weekday(-7) // last Monday dayjs().weekday(7) // next Monday diff --git a/docs/es-es/Plugin.md b/docs/es-es/Plugin.md index fe05f0806..95b858ef6 100644 --- a/docs/es-es/Plugin.md +++ b/docs/es-es/Plugin.md @@ -287,9 +287,9 @@ dayjs('2018-06-27').week(5) // set week - WeekDay adds `.weekday()` API to get or set locale aware day of the week. ```javascript -import weekDay from 'dayjs/plugin/weekDay' +import weekday from 'dayjs/plugin/weekday' -dayjs.extend(weekDay) +dayjs.extend(weekday) // when Monday is the first day of the week dayjs().weekday(-7) // last Monday dayjs().weekday(7) // next Monday diff --git a/docs/ja/Plugin.md b/docs/ja/Plugin.md index 487674770..6d03f5fa7 100644 --- a/docs/ja/Plugin.md +++ b/docs/ja/Plugin.md @@ -296,9 +296,9 @@ dayjs('2018-06-27').week(5) // set week - WeekDay adds `.weekday()` API to get or set locale aware day of the week. ```javascript -import weekDay from 'dayjs/plugin/weekDay' +import weekday from 'dayjs/plugin/weekday' -dayjs.extend(weekDay) +dayjs.extend(weekday) // when Monday is the first day of the week dayjs().weekday(-7) // last Monday dayjs().weekday(7) // next Monday diff --git a/docs/ko/Plugin.md b/docs/ko/Plugin.md index 24e6f521e..ecea0ac33 100644 --- a/docs/ko/Plugin.md +++ b/docs/ko/Plugin.md @@ -288,9 +288,9 @@ dayjs('2018-06-27').week(5) // set week - WeekDay adds `.weekday()` API to get or set locale aware day of the week. ```javascript -import weekDay from 'dayjs/plugin/weekDay' +import weekday from 'dayjs/plugin/weekday' -dayjs.extend(weekDay) +dayjs.extend(weekday) // when Monday is the first day of the week dayjs().weekday(-7) // last Monday dayjs().weekday(7) // next Monday diff --git a/docs/pt-br/Plugin.md b/docs/pt-br/Plugin.md index b264d51f5..b3ffd7428 100644 --- a/docs/pt-br/Plugin.md +++ b/docs/pt-br/Plugin.md @@ -287,9 +287,9 @@ dayjs('2018-06-27').week(5) // set week - WeekDay adds `.weekday()` API to get or set locale aware day of the week. ```javascript -import weekDay from 'dayjs/plugin/weekDay' +import weekday from 'dayjs/plugin/weekday' -dayjs.extend(weekDay) +dayjs.extend(weekday) // when Monday is the first day of the week dayjs().weekday(-7) // last Monday dayjs().weekday(7) // next Monday diff --git a/docs/zh-cn/Plugin.md b/docs/zh-cn/Plugin.md index 171388d42..54901820d 100644 --- a/docs/zh-cn/Plugin.md +++ b/docs/zh-cn/Plugin.md @@ -290,9 +290,9 @@ dayjs('2018-06-27').week(5) // 设置周 - WeekDay 增加了 `.weekday()` API 来获取或设置当前语言的星期。 ```javascript -import weekDay from 'dayjs/plugin/weekDay' +import weekday from 'dayjs/plugin/weekday' -dayjs.extend(weekDay) +dayjs.extend(weekday) // when Monday is the first day of the week dayjs().weekday(-7) // last Monday dayjs().weekday(7) // next Monday