-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #665 from Hi-Windom/v0.32
V0.32
- Loading branch information
Showing
29 changed files
with
361 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,62 @@ | ||
{ | ||
"等效于 dayjs().format(\"YYYYMMDDHHmmss\")": { | ||
"newDate -> yyyyMMddHHmmss": { | ||
"prefix": [ | ||
"formatDate_newDate", | ||
"dayjs().format" | ||
"⏰formatDate_newDate", | ||
"⏰dayjs().format" | ||
], | ||
"body": [ | ||
"formatDate(new Date($1), 'yyyyMMddHHmmss')" | ||
], | ||
"description": "等效于 dayjs().format(\"YYYYMMDDHHmmss\")\nformatDate 是 sofill/mid 中的一个代理函数,最终调用 date-fns 库的 format 函数" | ||
"description": "等效于 dayjs().format(\"YYYYMMDDHHmmss\")\tformatDate 是 sofill/mid 中的一个代理函数,最终调用 date-fns 库的 format 函数" | ||
}, | ||
"newDate -> yyyy-MM-dd HH:mm:ss": { | ||
"prefix": [ | ||
"⏰formatDate_newDate", | ||
"⏰dayjs().format" | ||
], | ||
"body": [ | ||
"formatDate(new Date($1), 'yyyy-MM-dd HH:mm:ss')" | ||
], | ||
"description": "等效于 dayjs().format(\"YYYY-MM-DD HH:mm:ss\")\tformatDate 是 sofill/mid 中的一个代理函数,最终调用 date-fns 库的 format 函数" | ||
}, | ||
"newDate -> yyyy-MM-dd": { | ||
"prefix": [ | ||
"⏰formatDate_newDate", | ||
"⏰dayjs().format" | ||
], | ||
"body": [ | ||
"formatDate(new Date($1), 'yyyy-MM-dd')" | ||
], | ||
"description": "等效于 dayjs().format(\"YYYY-MM-DD\")\tformatDate 是 sofill/mid 中的一个代理函数,最终调用 date-fns 库的 format 函数" | ||
}, | ||
"numberInt -> yyyyMMddHHmmss": { | ||
"prefix": [ | ||
"⏰formatDate_numberInt", | ||
"⏰dayjs().format" | ||
], | ||
"body": [ | ||
"formatDate(Number.parseInt($1) * 1000, 'yyyyMMddHHmmss')" | ||
], | ||
"description": "等效于 dayjs(parseInt() * 1000).format(\"YYYYMMDDHHmmss\")\tformatDate 是 sofill/mid 中的一个代理函数,最终调用 date-fns 库的 format 函数" | ||
}, | ||
"numberInt -> yyyy-MM-dd HH:mm:ss": { | ||
"prefix": [ | ||
"⏰formatDate_numberInt", | ||
"⏰dayjs().format" | ||
], | ||
"body": [ | ||
"formatDate(Number.parseInt($1) * 1000, 'yyyy-MM-dd HH:mm:ss')" | ||
], | ||
"description": "等效于 dayjs(parseInt() * 1000).format(\"YYYY-MM-DD HH:mm:ss\")\tformatDate 是 sofill/mid 中的一个代理函数,最终调用 date-fns 库的 format 函数" | ||
}, | ||
"numberInt -> yyyy-MM-dd": { | ||
"prefix": [ | ||
"⏰formatDate_numberInt", | ||
"⏰dayjs().format" | ||
], | ||
"body": [ | ||
"formatDate(Number.parseInt($1) * 1000, 'yyyy-MM-dd')" | ||
], | ||
"description": "等效于 dayjs(parseInt() * 1000).format(\"YYYY-MM-DD\")\tformatDate 是 sofill/mid 中的一个代理函数,最终调用 date-fns 库的 format 函数" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.