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

Return a time value with zone-id as OffsetTime #163

Closed
saig0 opened this issue Jul 14, 2020 · 0 comments · Fixed by #434
Closed

Return a time value with zone-id as OffsetTime #163

saig0 opened this issue Jul 14, 2020 · 0 comments · Fixed by #434
Assignees

Comments

@saig0
Copy link
Member

saig0 commented Jul 14, 2020

Is your feature request related to a problem? Please describe.
When time value with a zone-id (e.g. time("10:31:10@Europe/Paris")) is returned then it has the type ZonedTime. This type is a special type of the FEEL engine and not part of the normal Java/Scala classes. This introduces a dependency to the engine code, forces the developers to look into the code, and may cause problems when integrating it into the application code.

Describe the solution you'd like
A time value with zone-id is returned as java.time.OffsetTime instead.
The zone-id component is ignored. The offset is created of the standard offset of the given zone-id at the current point in time.

Related issues

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

Successfully merging a pull request may close this issue.

2 participants