[formatter] allow accessing 'util.NONE' via global '_nul'
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user