Skip to content
Snippets Groups Projects
Commit 55df7110 authored by Jasmina Ließmann's avatar Jasmina Ließmann
Browse files

[TASK] Format file size and datetime values in IS backend module

Resolves: #103664
Releases: main
Change-Id: I310eee5d304821d5f1b5ba210645f5ed2b4a85d2
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83921


Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarJasmina Ließmann <minapokhalo+typo3@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarJasmina Ließmann <minapokhalo+typo3@gmail.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent c47d91b3
Branches
Tags
No related merge requests found
......@@ -17,7 +17,17 @@
<f:for each="{phashRow}" as="value" key="key">
<tr>
<th class="col-recordtitle">{key}</th>
<td>{value}</td>
<td>
<f:if condition="({key} == 'item_mtime') || ({key} == 'tstamp') || ({key} == 'crdate') || ({key} == 'item_crdate')">
<f:then>
<is:format.dateTime>{value}</is:format.dateTime>
</f:then>
<f:else if="{key} == 'item_size'">
<f:format.bytes decimals="1" value="{value}" />
</f:else>
<f:else>{value}</f:else>
</f:if>
</td>
</tr>
</f:for>
</table>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment