You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by zy...@apache.org on 2023/06/06 15:32:41 UTC

[doris] branch master updated: [typo](doc) Fixed some description of date_format function documentation (#20504)

This is an automated email from the ASF dual-hosted git repository.

zykkk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 43ae2c59c3 [typo](doc) Fixed some description of date_format function documentation (#20504)
43ae2c59c3 is described below

commit 43ae2c59c395492891295408216705feab45b0d7
Author: bingquanzhao <bi...@icloud.com>
AuthorDate: Tue Jun 6 23:32:34 2023 +0800

    [typo](doc) Fixed some description of date_format function documentation (#20504)
---
 .../sql-manual/sql-functions/date-time-functions/date_format.md     | 6 +++---
 .../sql-manual/sql-functions/date-time-functions/date_format.md     | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/en/docs/sql-manual/sql-functions/date-time-functions/date_format.md b/docs/en/docs/sql-manual/sql-functions/date-time-functions/date_format.md
index 3533ea5e96..2588b7c620 100644
--- a/docs/en/docs/sql-manual/sql-functions/date-time-functions/date_format.md
+++ b/docs/en/docs/sql-manual/sql-functions/date-time-functions/date_format.md
@@ -28,11 +28,11 @@ under the License.
 ### Description
 #### Syntax
 
-`VARCHAR DATE' FORMAT (DATETIME DATE, VARCHAR Format)`
+`VARCHAR DATE_FORMAT (DATETIME DATE, VARCHAR Format)`
 
 
-Convert the date type to a bit string according to the format type.
-Currently supports a string with a maximum 128 bytes and returns NULL if the length of the return value exceeds 128
+Convert the date type to a string according to the format type.
+Convert the date type to a string according to the format type. Currently, it supports a maximum of 128 bytes for the string. If the return value length exceeds 128 bytes, then it returns NULL.
 
 The date parameter is the valid date. Format specifies the date/time output format.
 
diff --git a/docs/zh-CN/docs/sql-manual/sql-functions/date-time-functions/date_format.md b/docs/zh-CN/docs/sql-manual/sql-functions/date-time-functions/date_format.md
index 5af190fd8e..6a69495d83 100644
--- a/docs/zh-CN/docs/sql-manual/sql-functions/date-time-functions/date_format.md
+++ b/docs/zh-CN/docs/sql-manual/sql-functions/date-time-functions/date_format.md
@@ -32,7 +32,7 @@ under the License.
 
 
 将日期类型按照format的类型转化为字符串,
-当前支持最大128字节的字符串,如果返回值长度超过128,则返回NULL
+当前支持最大128字节的字符串,如果返回值长度超过128字节,则返回NULL。
 
 date 参数是合法的日期。format 规定日期/时间的输出格式。
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org