Skip to content

Commit 1bede8e

Browse files
lixingwangFrank Martinez
authored and
Frank Martinez
committed
make description more succinct
1 parent a6ec31d commit 1bede8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

function/datetime/descriptor.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
{
3636
"name": "formatDate",
37-
"description": "Format the date according to the specified format. The pattern of the formatter contains of MM(month), DD(day), YYYY(year) and delimiter, they are case insensitive, such as: MM-dd-YYYY or yyyy/mm/dd",
37+
"description": "Format the date according to the specified format. The format uses MM(month), DD(day) and YYYY(year) and they are case insensitive",
3838
"example": "datetime.formatDate(\"02/08/2017\", \"dd-MM-yyyy\")=> 08-02-2017",
3939
"args": [
4040
{
@@ -52,7 +52,7 @@
5252
},
5353
{
5454
"name": "formatDatetime",
55-
"description": "Format the datetime according to the specified format. The pattern of the formatter contains of MM(month), DD(day), YYYY(year), hh(hour), mm(minute), ss(second) and delimiter, they are case insensitive except MM, MM is case sensitive, upper case MM for month and lower case mm for minutes such as:MM-dd-YYYYdd-MM-yyyy T hh-mm-ss",
55+
"description": "Format the date according to the specified format. The format uses MM(month), DD(day), YYYY(year), hh(hour), mm(minute) and ss(second), they are case insensitive except MM",
5656
"example": "datetime.formatDatetime(\"2017-04-10T22:17:32.000+0700\", \"dd/MM/yyyy T hh:mm:ss\") => 10/04/2017 T 22:17:32",
5757
"args": [
5858
{
@@ -70,7 +70,7 @@
7070
},
7171
{
7272
"name": "formatTime",
73-
"description": "Format the time according to the specified format. The pattern of the formatter contains of hh(hour), mm(minute), ss(second) and delimiter, they are case insensitive, such as: hh-mm-ss or hh:mm:s",
73+
"description": "Format the date according to the specified format. The format uses hh(hour), mm(minute), ss(second), they are case insensitive",
7474
"example": "datetime.formatTime(\"10:11:05.00000\", \"hh-mm-ss\") => 10-11-05",
7575
"args": [
7676
{

0 commit comments

Comments
 (0)