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

'OO' format option not recognized for parsing ISO 8601 time zone offsets #1147

Open
jchorton opened this issue Dec 5, 2023 · 0 comments
Open

Comments

@jchorton
Copy link

jchorton commented Dec 5, 2023

The issue is that the OO format option from the documentation is not recognized. The following line results in an error:

guessed_formats <- guess_formats("2023-11-01T12:00-06:00", "YmdHMOO", print_matches=TRUE)

If I adjust the datetime to match another format, like removing the : and using the Oz instead, then it does work:

guessed_formats <- guess_formats("2023-11-01T12:00-0600", "YmdHMOz", print_matches=TRUE)
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

No branches or pull requests

1 participant