Skip to content

Add Time#to_instant for convenience #287

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

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Conversation

jimtng
Copy link
Contributor

@jimtng jimtng commented Jun 28, 2024

It seems that some APIs need an Instant. This allows us to use Time.now.to_instant as an alternative to ZonedDateTime.now.to_instant

@ccutrer ccutrer merged commit eb4489c into openhab:main Jun 28, 2024
18 checks passed
@jimtng jimtng deleted the time-to-instant branch June 28, 2024 15:02
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

Successfully merging this pull request may close these issues.

2 participants