Skip to content

Commit c52ae33

Browse files
committed
[TASK] Update example in documentation
1 parent c50d24c commit c52ae33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ TYPO3:
289289
type: date
290290
include_in_all: false
291291
format: 'date_time_no_millis'
292-
indexing: '${(node.hiddenBeforeDateTime ? node.hiddenBeforeDateTime.format("Y-m-d\TH:i:s") + "Z" : null)}'
292+
indexing: '${(node.hiddenBeforeDateTime ? Date.format(node.hiddenBeforeDateTime, "Y-m-d\TH:i:s") + "Z" : null)}'
293293
```
294294

295295
There are a few indexing helpers inside the `Indexing` namespace which are usable inside the

0 commit comments

Comments
 (0)