From: Tim Düsterhus Date: Thu, 27 Apr 2023 14:56:03 +0000 (+0200) Subject: Explain the updated time rendering in templates X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e7c007d9e3cf6077aad7b0d52f2f795a1a4461cf;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git Explain the updated time rendering in templates --- 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.