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

Add zoneId to [At]DateString. #773

Merged
merged 2 commits into from
Mar 6, 2020
Merged

Add zoneId to [At]DateString. #773

merged 2 commits into from
Mar 6, 2020

Conversation

michael-simons
Copy link
Collaborator

This attribute will be used for converting attributes to Strings that cannot be converted without the knowledge of a valid zone (for example java.time.Instant).

The zoneId defaults to UTC which is the same as the default patterns use. The default is required to not break existing users.

For the time being, the zoneId is only used in the org.neo4j.ogm.typeconversion.InstantStringConverter.

This closes #771.

This attribute will be used for converting attributes to Strings that cannot be converted without the knowledge of a valid zone (for example `java.time.Instant`).

The zoneId defaults to `UTC` which is the same as the default patterns use. The default is required to not break existing users.

For the time being, the zoneId is only used in the `org.neo4j.ogm.typeconversion.InstantStringConverter`.

This closes #771.
@michael-simons michael-simons merged commit 935f9f5 into master Mar 6, 2020
@michael-simons michael-simons deleted the issue/771 branch March 6, 2020 15:45
michael-simons added a commit that referenced this pull request Mar 6, 2020
This attribute will be used for converting attributes to Strings that cannot be converted without the knowledge of a valid zone (for example `java.time.Instant`).

The zoneId defaults to `UTC` which is the same as the default patterns use. The default is required to not break existing users.

For the time being, the zoneId is only used in the `org.neo4j.ogm.typeconversion.InstantStringConverter`.

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

Successfully merging this pull request may close these issues.

Handle DateTime string conversions requiring a time zone.
1 participant