Skip to content

Commit ca49e7c

Browse files
committed
docs: update week start docs
close #215 close #352
1 parent 5b03412 commit ca49e7c

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

docs/en/API-reference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ dayjs().subtract(7, "year");
241241
Returns a cloned `Dayjs` set to the start of the specified unit of time.
242242

243243
```js
244-
dayjs().startOf("week");
244+
dayjs().startOf("week"); // Depends on `weekStart` in locale
245245
```
246246

247247
### End of Time `.endOf(unit: string)`

docs/es-es/API-reference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ dayjs().subtract(7, "year");
241241
Devuelve un nuevo objeto `Dayjs`, resultante de ajustar el actual al principio de la unidad de tiempo indicada.
242242

243243
```js
244-
dayjs().startOf("week");
244+
dayjs().startOf("week"); // Depends on `weekStart` in locale
245245
```
246246

247247
### Fin de `.endOf(unit: string)`

docs/ja/API-reference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ Returns a new `Dayjs` object by by setting it to the start of a unit of time.
278278

279279
```js
280280
dayjs().startOf((unit: String));
281-
dayjs().startOf('year');
281+
dayjs().startOf('week'); // Depends on `weekStart` in locale
282282
```
283283

284284
#### End of Time

docs/ko/API-reference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ dayjs().subtract(7, 'year');
238238
특정 시간 단위의 시작 시점에 대한 시간을 `Dayjs` 오브젝트 복제본으로 반환합니다.
239239

240240
```js
241-
dayjs().startOf('week');
241+
dayjs().startOf('week'); // Depends on `weekStart` in locale
242242
```
243243

244244
### End of Time `.endOf(unit: string)`

docs/pt-br/API-reference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ dayjs().subtract(7, 'year');
237237
Retorna um objeto `Dayjs` clonado definido com o começo da unidade de tempo especificada.
238238

239239
```js
240-
dayjs().startOf('week');
240+
dayjs().startOf('week'); // Depends on `weekStart` in locale
241241
```
242242

243243
### Fim do Tempo `.endOf(unit: string)`

docs/zh-cn/API-reference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ dayjs().subtract(7, 'year');
213213
返回当前时间的开头时间的 `Dayjs()` 对象,如月份的第一天。
214214
```js
215215
dayjs().startOf(unit : String);
216-
dayjs().startOf('year');
216+
dayjs().startOf('week'); // 取决于 locale 文件里 `weekStart` 的值
217217
```
218218
#### 末尾时间
219219
返回当前时间的末尾时间的 `Dayjs()` 对象,如月份的最后一天。

0 commit comments

Comments
 (0)