Skip to content

[#600] fix Time to Calendar conversion if in the past#602

Merged
mattrpav merged 1 commit intohighsource:masterfrom
laurentschoelens:jt-600
May 5, 2025
Merged

[#600] fix Time to Calendar conversion if in the past#602
mattrpav merged 1 commit intohighsource:masterfrom
laurentschoelens:jt-600

Conversation

@laurentschoelens
Copy link
Copy Markdown
Collaborator

Fixes #600

If date is in the past (of epoch), getMillis return negative value, which ends in error

Copy link
Copy Markdown
Collaborator

@mattrpav mattrpav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mattrpav mattrpav merged commit 11674d8 into highsource:master May 5, 2025
3 checks passed
@mattrpav mattrpav deleted the jt-600 branch May 5, 2025 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix Time to Calendar conversion in AbstractXMLGregorianCalendarAdapter

2 participants