Skip to content
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

Use higher-precision value to normalize DateTimeInterface #1915

Open
msmuenchen opened this issue Jul 4, 2023 · 0 comments
Open

Use higher-precision value to normalize DateTimeInterface #1915

msmuenchen opened this issue Jul 4, 2023 · 0 comments

Comments

@msmuenchen
Copy link

The normalizeValue function in ModelToElasticaAutoTransformer serializes a DateTimeInterface value into the format string ´c` aka ISO 8601.

This can lead to a loss of precision - the date_format of Elasticsearch is clearly capable of ingesting RFC3339 Extended (aka ISO 8601 with fractional seconds) by specifying date_time as format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant