From e7c007d9e3cf6077aad7b0d52f2f795a1a4461cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 27 Apr 2023 16:56:03 +0200 Subject: [PATCH] Explain the updated time rendering in templates --- docs/migration/wsc55/templates.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/migration/wsc55/templates.md b/docs/migration/wsc55/templates.md index b84fb2e1..30ab0c45 100644 --- a/docs/migration/wsc55/templates.md +++ b/docs/migration/wsc55/templates.md @@ -10,6 +10,14 @@ It is strongly recommended to keep the template logic as simple as possible by m See [WoltLab/WCF#4788](https://github.com/WoltLab/WCF/pull/4788) for details. +## Time Rendering + +The `|time`, `|plainTime` and `|date` modifiers have been deprecated and replaced by a unified `{time}` function. + +The main benefit is that it is no longer necessary to specify the `@` symbol when rendering the interactive time element, making it easier to perform a security review of templates by searching for the `@` symbol. + +See [WoltLab/WCF#5459](https://github.com/WoltLab/WCF/pull/5459) for details. + ## Comments In WoltLab Suite 6.0 the comment system has been overhauled. -- 2.20.1