Skip to content

Commit 223652b

Browse files
committed
Merge pull request #71 from yaramayer/hide-before-after-timezone
[BUGFIX] Hide Before/After Dates indexed with PHP timezone
2 parents a09d14e + f8999fc commit 223652b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Configuration/NodeTypes.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
type: date
7777
include_in_all: false
7878
format: 'date_time_no_millis'
79-
indexing: '${(node.hiddenBeforeDateTime ? Date.format(node.hiddenBeforeDateTime, "Y-m-d\TH:i:s") + "Z" : null)}'
79+
indexing: '${(node.hiddenBeforeDateTime ? Date.format(node.hiddenBeforeDateTime, "Y-m-d\TH:i:sP") : null)}'
8080

8181

8282
'_hiddenAfterDateTime':
@@ -85,7 +85,7 @@
8585
type: date
8686
include_in_all: false
8787
format: 'date_time_no_millis'
88-
indexing: '${(node.hiddenAfterDateTime ? Date.format(node.hiddenAfterDateTime, "Y-m-d\TH:i:s") + "Z" : null)}'
88+
indexing: '${(node.hiddenAfterDateTime ? Date.format(node.hiddenAfterDateTime, "Y-m-d\TH:i:sP") : null)}'
8989

9090

9191
'TYPO3.Neos:Document':

0 commit comments

Comments
 (0)