From 30ea2a2bce98e58023502a0d03ec91eb95df5eb7 Mon Sep 17 00:00:00 2001 From: Tim van Steenbergen Date: Tue, 10 Mar 2026 16:57:52 +0100 Subject: [PATCH 1/3] Update parse-and-format-date-function-calls.md formatDateTime has improved for the T between date and time. --- .../expressions/parse-and-format-date-function-calls.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/refguide10/modeling/application-logic/expressions/parse-and-format-date-function-calls.md b/content/en/docs/refguide10/modeling/application-logic/expressions/parse-and-format-date-function-calls.md index 1443e2cefe1..a9b55d458dc 100644 --- a/content/en/docs/refguide10/modeling/application-logic/expressions/parse-and-format-date-function-calls.md +++ b/content/en/docs/refguide10/modeling/application-logic/expressions/parse-and-format-date-function-calls.md @@ -187,10 +187,10 @@ the output is: 'Sun, 8 Jun 2008 10:12:01 +0200' ``` -To get a format like `'2008-06-08T10:12:01'`, you need to concatenate two formatDateTime[UTC] functions: +To get a format like `'2008-06-08T10:12:01'`, you can escape the T with '': ```java -formatDateTime($object/Date1,'yyyy-MM-dd') + 'T' + formatDateTime($object/Date1,'HH:mm:ss') +formatDateTime($object/Date1,'yyyy-MM-dd''T''HH:mm:ss') ``` ## `formatTime[UTC]` {#formatTime} From 03022bc18b3cf166f9de6638077bd907c37d19c5 Mon Sep 17 00:00:00 2001 From: Yiyun Liao Date: Thu, 12 Mar 2026 11:59:41 +0100 Subject: [PATCH 2/3] Add the same update to refguide 11 --- .../expressions/parse-and-format-date-function-calls.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/refguide/modeling/application-logic/expressions/parse-and-format-date-function-calls.md b/content/en/docs/refguide/modeling/application-logic/expressions/parse-and-format-date-function-calls.md index dcd1a1625a4..fb3407d4bd2 100644 --- a/content/en/docs/refguide/modeling/application-logic/expressions/parse-and-format-date-function-calls.md +++ b/content/en/docs/refguide/modeling/application-logic/expressions/parse-and-format-date-function-calls.md @@ -179,10 +179,10 @@ the output is: 'Sun, 8 Jun 2008 10:12:01 +0200' ``` -To get a format like `'2008-06-08T10:12:01'`, you need to concatenate two formatDateTime[UTC] functions: +To get a format like `'2008-06-08T10:12:01'`, you can escape the T with '': ```java -formatDateTime($object/Date1,'yyyy-MM-dd') + 'T' + formatDateTime($object/Date1,'HH:mm:ss') +formatDateTime($object/Date1,'yyyy-MM-dd''T''HH:mm:ss') ``` ## `formatTime[UTC]` {#formatTime} From 903615d1571d7f923f96f6e6f891a8a230b5ac18 Mon Sep 17 00:00:00 2001 From: Yiyun Liao Date: Thu, 12 Mar 2026 14:13:47 +0100 Subject: [PATCH 3/3] Add code formatting --- .../expressions/parse-and-format-date-function-calls.md | 2 +- .../expressions/parse-and-format-date-function-calls.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/refguide/modeling/application-logic/expressions/parse-and-format-date-function-calls.md b/content/en/docs/refguide/modeling/application-logic/expressions/parse-and-format-date-function-calls.md index fb3407d4bd2..4472338985f 100644 --- a/content/en/docs/refguide/modeling/application-logic/expressions/parse-and-format-date-function-calls.md +++ b/content/en/docs/refguide/modeling/application-logic/expressions/parse-and-format-date-function-calls.md @@ -179,7 +179,7 @@ the output is: 'Sun, 8 Jun 2008 10:12:01 +0200' ``` -To get a format like `'2008-06-08T10:12:01'`, you can escape the T with '': +To get a format like `'2008-06-08T10:12:01'`, you can escape the T with `''`: ```java formatDateTime($object/Date1,'yyyy-MM-dd''T''HH:mm:ss') diff --git a/content/en/docs/refguide10/modeling/application-logic/expressions/parse-and-format-date-function-calls.md b/content/en/docs/refguide10/modeling/application-logic/expressions/parse-and-format-date-function-calls.md index a9b55d458dc..243221aac94 100644 --- a/content/en/docs/refguide10/modeling/application-logic/expressions/parse-and-format-date-function-calls.md +++ b/content/en/docs/refguide10/modeling/application-logic/expressions/parse-and-format-date-function-calls.md @@ -187,7 +187,7 @@ the output is: 'Sun, 8 Jun 2008 10:12:01 +0200' ``` -To get a format like `'2008-06-08T10:12:01'`, you can escape the T with '': +To get a format like `'2008-06-08T10:12:01'`, you can escape the T with `''`: ```java formatDateTime($object/Date1,'yyyy-MM-dd''T''HH:mm:ss')