We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef8f2c commit 1c686cbCopy full SHA for 1c686cb
Sources/ElasticsearchQueryBuilder/Encoding.swift
@@ -9,7 +9,7 @@ extension QueryValue: Encodable {
9
case let .date(value, format: format):
10
switch format {
11
case .iso8601:
12
- try container.encode(value.ISO8601Format())
+ try container.encode(value.formatted(.iso8601))
13
case .secondsSince1970:
14
try container.encode(String(describing: Int(value.timeIntervalSince1970)))
15
case .millisecondsSince1970:
0 commit comments