Skip to content

Commit 7d2ddac

Browse files
at0ddfhussonnois
authored andcommitted
docs(site): fix DateFilter formats config
1 parent 9194b9b commit 7d2ddac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/content/en/docs/Developer Guide/filters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,14 @@ The `DateFilter` converts a field's value containing a date to a unix epoch time
199199
| `target` | The target field. | string([ScEL supported](/kafka-connect-file-pulse/docs/developer-guide/accessing-data-and-metadata/)) | *-* | high |
200200
| `timezone` | The timezone to use for parsing date. | string | *UTC* | high |
201201
| `locale` | The locale to use for parsing date. | string | *en_EN* | high |
202-
| `format` | List of the expected date formats. | list | *-* | high |
202+
| `formats` | List of the expected date formats. | list | *-* | high |
203203

204204
### Examples
205205
206206
```properties
207207
filters.MyDateFilter.field="$.date"
208208
filters.MyDateFilter.target="$.timestamp"
209-
filters.MyDateFilter.format="yyyy-MM-dd'T'HH:mm:ss"
209+
filters.MyDateFilter.formats="yyyy-MM-dd'T'HH:mm:ss"
210210
```
211211

212212
**Input**
@@ -599,4 +599,4 @@ filters.MySplitterFilter.separator=,
599599
"output": [ "val0", "val1", "val2"]
600600
}
601601
}
602-
```
602+
```

0 commit comments

Comments
 (0)