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

col_date or col_datetime does not support %I hour format for AM/PM tagged hours #340

bdb67 opened this issue Dec 28, 2015 · 1 comment


Copy link

@bdb67 bdb67 commented Dec 28, 2015

For example, parsing date "12/31/1991 6:00:00 PM", given date format = "%m/%d/%Y %I" will return an error.

readr::parse_datetime("12/31/1991 6:00 PM", "%m/%d/%Y %I")

Copy link

@hadley hadley commented Jun 1, 2016

You mean

readr::parse_datetime("12/31/1991 6:00 PM", "%m/%d/%Y %I:%m %p")


Adding %I support should be pretty easy

@jimhester jimhester self-assigned this Jun 8, 2016
@lock lock bot locked and limited conversation to collaborators Sep 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants