[formatter] add 'I' format specifier - identity

This commit is contained in:
Mike Fährmann
2025-12-17 19:09:30 +01:00
parent 717d38f38c
commit ff94002b44
3 changed files with 20 additions and 0 deletions

View File

@@ -375,6 +375,12 @@ Format specifiers can be used for advanced formatting by using the options provi
<td><code>{date:Olocal/}</code></td>
<td><code>2010-01-01 01:00:00</code></td>
</tr>
<tr>
<td><code>I</code></td>
<td>Return the current value as is.<br>Do not convert it to <code>str</code></td>
<td><code>{num:I}</code></td>
<td><code>1</code></td>
</tr>
</tbody>
</table>