fix: 公式WEEKDAY文档示例问题

This commit is contained in:
allenve 2023-09-18 18:54:45 +08:00
parent d2e111ef6e
commit 8c174d816d
2 changed files with 6 additions and 4 deletions

View File

@ -627,7 +627,8 @@
示例 示例
WEEKDAY('2023-02-27') 得到 1。 WEEKDAY('2023-02-27') 得到 0。
WEEKDAY('2023-02-27', 2) 得到 1。
### WEEK ### WEEK
@ -642,7 +643,7 @@ WEEKDAY('2023-02-27') 得到 1。
示例 示例
WEEK('2023-03-05') 得到 10 WEEK('2023-03-05') 得到 9
### DATETOSTR ### DATETOSTR

View File

@ -1507,7 +1507,8 @@ export class Evaluator {
* *
* *
* *
* WEEKDAY('2023-02-27') 1 * WEEKDAY('2023-02-27') 0
* WEEKDAY('2023-02-27', 2) 1
* *
* @example WEEKDAY(date) * @example WEEKDAY(date)
* @namespace * @namespace
@ -1526,7 +1527,7 @@ export class Evaluator {
* *
* *
* *
* WEEK('2023-03-05') 10 * WEEK('2023-03-05') 9
* *
* @example WEEK(date) * @example WEEK(date)
* @namespace * @namespace