-
Notifications
You must be signed in to change notification settings - Fork 164
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
Values.literal does not work for Instant #4104
Comments
Note: unlike e.g. |
@barthanssens we're getting close to doing a 4.1.1 patch release - do you have a timeline on when you hope to put up a fix for this issue? Would be good if we could fit it in. |
Could an easy fix be to do an instanceof check and call Or is it that the milliseconds resolution is higher for Instant than for the XML calendar spec? |
Thanks for the heads-up, looking into it tomorrow Indeed, was thinking about simple instanceof check. |
…amp value Signed-off-by:Bart Hanssens <[email protected]>
Signed-off-by: Bart Hanssens <[email protected]>
…amp value Signed-off-by:Bart Hanssens <[email protected]>
Current Behavior
Values.literal(TemporalAccessor value)
should allow for anInstant
, butValues.literal(Instant.now())
throws an ExceptionExpected Behavior
A literal with type xsd:dateTime is created
Steps To Reproduce
No response
Version
4.1.0
Are you interested in contributing a solution yourself?
Yes
Anything else?
No response
The text was updated successfully, but these errors were encountered: