-
Notifications
You must be signed in to change notification settings - Fork 228
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
withISO8601Dates #2767
Comments
I can't reproduce this. I get: {"data":[{"type":"group","id":"com.example.repository","attributes":{"commonName":"Example Repository","createdAt":"09/16/2022","description":"The code for this project"},"relationships":{"products":{"data":[]}}}]} If I configure: .withISO8601Dates("MM/dd/yyyy", TimeZone.getTimeZone("UTC")) Can you produce a working example with the issue? |
@configuration
} Here is my config file Elide v6.1.7, Spring Boot 2.7.3 |
Can you reproduce this with elide-spring-boot-example and publish a branch? Then I can debug it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
ElideSettingsBuilder builder = (new ElideSettingsBuilder(dataStore))
.withEntityDictionary(dictionary)
.withISO8601Dates("MM/dd/yyyy", TimeZone.getTimeZone("UTC"))
Output date format like: 09/15/2022
Current Behavior
.withISO8601Dates("MM/dd/yyy", TimeZone.getTimeZone("UTC")) doesn't work, always output yyyy-MM-dd'T'HH:mm'Z'
Output example: 2022-05-23T21:03Z
Possible Solution
Elide V4 works as expected
Steps to Reproduce (for bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: