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 support for parsing offsets #41

Closed
brewin opened this issue Aug 21, 2020 · 1 comment
Closed

Add support for parsing offsets #41

brewin opened this issue Aug 21, 2020 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@brewin
Copy link

brewin commented Aug 21, 2020

Unless I'm missing something, there isn't currently any way to parse a datetime string with an offset.

"2020-08-20T12:00:00-05:00".toInstant()
kotlinx.datetime.DateTimeFormatException: java.time.format.DateTimeParseException: Text '2020-08-20T12:00:00-05:00' could not be parsed at index 19
@ilya-g
Copy link
Member

ilya-g commented Jan 17, 2021

Thanks for reporting, I'll merge it with another issue #56.

@ilya-g ilya-g closed this as completed Jan 17, 2021
@ilya-g ilya-g added the duplicate This issue or pull request already exists label Jan 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants