[formatter] allow accessing 'util.NONE' via global '_nul'

This commit is contained in:
Mike Fährmann
2024-09-19 13:28:59 +02:00
parent 2dfdc92b21
commit b44f0cdab0
3 changed files with 15 additions and 0 deletions

View File

@@ -272,6 +272,12 @@ Replacement field names that are available in all format strings.
<td><code>{_now:%Y-%m}</code></td>
<td><code>2022-08</code></td>
</tr>
<tr>
<td><code>_nul</code></td>
<td>Universal <code>null</code> value</td>
<td><code>{date|_nul:%Y-%m}</code></td>
<td><code>None</code></td>
</tr>
<tr>
<td rowspan="2"><code>_lit</code></td>
<td rowspan="2">String literals</td>