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

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


The following commit(s) were added to refs/heads/master by this push:
     new ed4e214ff12 [fix](docs) add version comment of str_to_date function 
(#748)
ed4e214ff12 is described below

commit ed4e214ff12f6b29021df5b422f0b6daa3ef9e8a
Author: zclllyybb <[email protected]>
AuthorDate: Mon Jun 17 21:51:22 2024 +0800

    [fix](docs) add version comment of str_to_date function (#748)
    
    Indicates from which version a particular feature is supported
---
 .../sql-manual/sql-functions/date-time-functions/str-to-date.md     | 6 +++++-
 .../sql-manual/sql-functions/date-time-functions/str-to-date.md     | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/date-time-functions/str-to-date.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/date-time-functions/str-to-date.md
index 3c219a29fa9..56112c49962 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/date-time-functions/str-to-date.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/date-time-functions/str-to-date.md
@@ -32,7 +32,11 @@ under the License.
 
 通过format指定的方式将str转化为DATE类型,如果转化结果不对返回NULL。注意format指定的是第一个参数的格式。
 
-支持[date_format](./date-format)中的所有 format 格式,此外对于 '%Y' 和 '%Y-%m',支持补齐日期剩余部分。
+支持[date_format](./date-format)中的所有 format 格式,
+
+> 自 Doris 2.0.5 开始:
+>
+> 对于 '%Y' 和 '%Y-%m',支持自动补齐日期剩余部分。
 
 ### example
 
diff --git 
a/versioned_docs/version-2.0/sql-manual/sql-functions/date-time-functions/str-to-date.md
 
b/versioned_docs/version-2.0/sql-manual/sql-functions/date-time-functions/str-to-date.md
index 4b46dc25543..9a10cb8d4c6 100644
--- 
a/versioned_docs/version-2.0/sql-manual/sql-functions/date-time-functions/str-to-date.md
+++ 
b/versioned_docs/version-2.0/sql-manual/sql-functions/date-time-functions/str-to-date.md
@@ -33,7 +33,11 @@ under the License.
 
 Convert STR to DATE type by format specified, if the conversion result does 
not return NULL. Note that the 'format' parameter specifies the format of the 
first parameter.
 
-All formats in [date_format](./date-format) are supported. In addition, 
support auto completing the remainder of date part for '%Y' and '%Y-%m'.
+All formats in [date_format](./date-format) are supported. 
+
+> Since Doris 2.0.5:
+>
+> Support auto completing the remainder of date part for '%Y' and '%Y-%m'.
 
 ### example
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to