New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URLEncodedForm date encoding strategy #2273
URLEncodedForm date encoding strategy #2273
Commits on Mar 29, 2020
-
-
-
-
-
Added ISO8601DateFormatter.threadSpecific so a new ISO8601DateFormatt…
…er isn't created for every encode/decode.
-
-
Added
ThreadSpecificDateFormatter
to ensure thread safety when usin……g a `custom` DateFormat for `URLEncodedFormEncoder` or `URLEncodedFormDecoder`
-
-
Changed custom interface to mimic `JSONDecoder.DateDecodingStrategy.c…
…ustom(_:)` and `JSONEncoder.DateEncodingStrategy.custom(_:)` interfaces
-
Commits on Mar 30, 2020
-
ISO8601DateFormatter
seems to be thread safe. This bug was filed: h……ttps://bugs.swift.org/browse/SR-7745?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel I tried running the sample program with `10000000` iterations in the `vapor/swift:5.2` docker image without any issue.
-
Default the date format for URLEncodedFrom coding/decoding to `timeIn…
…tervalSinceReferenceDate`
-